-
Notifications
You must be signed in to change notification settings - Fork 156
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
Deregistering versions is not intuitive #401
Comments
can deregister specific versions:
or request quota increase: https://console.aws.amazon.com/servicequotas/home/services/cloudformation/quotas/L-EA1018E8 or deregister non-default versions with this Python script: import boto3
client = boto3.client('cloudformation')
for version in client.list_type_versions(Type='RESOURCE', TypeName=type_name)['TypeVersionSummaries']:
if not version['IsDefaultVersion']:
client.deregister_type(Arn=version['Arn']) |
I went to my doctor and said "My back hurts when I walk up stairs" and my doctor tells me "don't walk up stairs." I understand that raising the quota can make the problem occur leas frequently, but my issue was more that the ergonomics for deregistering types isn't very deightful. |
I had to raise a support request to even find out that it was possible to deregister a type. It's odd that cfn-cli supports the rest of the lifecycle but not deregistering. |
I hit the maximum number of versions of my resource and it wasn't clear what I should do.
I eventually figured out that I needed to deregister old versions, but that feature is nested within the deregister-type command and it took longer than I would have liked to figure out I can use that to deregister individual versions of a type.
I'd like to be able to say "deregister-version" and give it an arn to deregister
I'd like to be able to say "deregister-non-default" and give it a type and it will deregister all non-default versions for that type (though I can see how this might be dangerous)
The text was updated successfully, but these errors were encountered: