Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useAsTemplateOnly chicken in the egg issue, how can I create all resources from scratch? #295

Open
isaaguilar opened this issue Mar 29, 2022 · 0 comments

Comments

@isaaguilar
Copy link
Contributor

I noticed a chicken in the egg issue here. Looks like I have to create the ocean first, then add a custom default launch spec, then update this value. How can I create all resources from scratch?

Error: [ERROR] Failed to update cluster [o-REDACTED]: 
PUT https://api.spotinst.io/ocean/aws/k8s/cluster/o-REDACTED?accountId=act-REDACTED: 400 (request: "REDACTED") 
CANT_UPDATE_OCEAN_ENTITY: Can't set useAsTemplateOnly flag to true without any custom 
launchSpecs defined on the Ocean cluster: 'o-REDACTED'

Originally posted by @Jonnymcc in #122 (comment)

@isaaguilar isaaguilar changed the title --use-as-template chicken in the egg issue, how can I create all resources from scratch? useAsTemplateOnly chicken in the egg issue, how can I create all resources from scratch? Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant