-
Notifications
You must be signed in to change notification settings - Fork 36
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
AWS::CloudFormation::Type #3
Comments
We are working on this one, we just have some back and forth on the right model here mainly with respect to setting default versions and how that should best work in CloudFormation stack. 👍🏼 |
Why not put that discussion about how default versions should be managed here on the roadmap, and let customers give feedback on the options? |
So the way we are thinking about this type is that you'd have a model something like below (represented as a CloudFormation template snippet);
The Provisioning semantics;
I think that's the gist of the discussion I have had with @aygold92 so far. |
Can you elaborate a bit about |
After you invoke |
I think I got it. So the DefaultVersion could point to a different (previous) version than the version that's provided in What about skipping the DefaultVersion completely (in the |
A few questions for @rjlohan about this.
|
Right now the Registry only supports the ability to (De)RegisterType, however we designed it intentionally to be as agnostic of CloudFormation (the service) as we could. Certainly there will be abstraction leaks, but we intend to separate concerns so that we have the ability to cleanly build out other capabilities in the future. I'm OK with modelling the current
For now, we have a rolling, immutable versioned history of the evolution of a
That would be a leaky abstraction. The Resource platform does not know anything about CloudFormation's stack-level concerns. (To be fair a couple of things leaked through, but again the intent was to design the Registry and the resource platform to be completely oblivious to CloudFormation the service.
Yeah this is the one bit I don't have a good canned answer on. Vote?
Yes, we'll have to model this correctly in the |
I have some thoughts to add: Types and Versions should be separate resources, because they have separate lifetimes:
Having to specify a Kind seems a bit strange too, I don't think I would mind having a different resource for each (future) kind. Assuming this is expected to be a limited list. I'm going to write the rest of this comment with Kind as a Property, but I think there is an argument to be made for making it a resource level distinction (similar to how API-GW has different resources for different kinds of APIs and ELB has ALB/NLB as different resources). This could be a way to address versioning:
|
A lot has changed, this discussion is happening primarily on pull request #4 that implements (currently) ::ResourceVersion and ::ResourceVersionAlias |
Does this merge now resolve this issue? #4 |
I'll be working on the deployment on the backend and then will update this ticket when it's available. It'll take a couple of days to go through the works. |
Any word on when this is going live? There seem to be a couple issues open, but I'm not sure which one is the official so xposting. |
I believe this can be closed now that both types have been released, right? https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CloudFormation.html |
1. Title
AWS::CloudFormation::Type
2. Scope of request
AWS::CloudFormation::Type - can create resource via API, but not via CloudFormation
3. Expected behavior
In Create, the RegisterType should be registered, and in Delete it should be unregistered. It seems that updates are not supported.
4. Suggest specific test cases
Just being able to do the same stuff as with the API / CLI.
5. Helpful Links to speed up research and evaluation
See
registerType
andderegisterType
in https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudFormation.html6. Category (required) - Will help with tagging and be easier to find by other users to +1
The text was updated successfully, but these errors were encountered: