No launch paths found for resource
See original GitHub issueWhen attempting to launch a product using the CloudFormationProvisionedProduct, I keep getting an error message saying that “no launch paths” exist for the given resource. Both the parent and the product it depends on have launch constraints on them, and when I call aws servicecatalog list-launch-paths --product-id <product_id>
for both, they return a launch path. Is there an explicit way to create/update a product launch path other than associating principals with portfolios? In the end, I am trying to have a product explicitly depend on another one, and to automatically launch it if it hasn’t already been deployed.
Reproduction Steps
Include an already existing product in a separate products CDK code like this:
new SC.CfnCloudFormationProvisionedProduct(this, 'provisioned-product', {
productId: 'prod-abcdef',
provisioningArtifactId: 'pa-abcdef',
});
This was able to locate the product successfully, but it fails during product launch with the error message below.
Error Log
StatusReason : Unable to launch provisioned product because: No launch paths found for resource
Environment
- **CLI Version 😗*1.43
- **Framework Version:**Typescript
- **Node.js Version:**v14.4.0
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top GitHub Comments
I recently ran into this error and even though I could run
describe-product-as-admin
CLI commands, theprovision-product
command returned an error:The solution: add the IAM User/Group/Role to the Portfolio 🤦♂️ https://docs.aws.amazon.com/servicecatalog/latest/adminguide/catalogs_portfolios_users.html
The IAM user I was using had Administrator access and it still needed to be added as a user to the Service Catalog Portfolio for the product
The error message
Unable to launch provisioned product because: No launch paths found for resource
isn’t super helpful. It can mean any of the following:Since the error message is not helpful, it doesn’t tell you which of these are to blame.
To see how unhelpful the error message is, try this for fun:
Some pointers to getting it to work:
DisableTemplateValidation
. When you create the product, you’ll get an error if the template has an error.