-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[New Resource] aws_servicecatalogappregistry_application #36277
[New Resource] aws_servicecatalogappregistry_application #36277
Conversation
Community NoteVoting for Prioritization
For Submitters
|
9c9a55e
to
205faa7
Compare
205faa7
to
3374025
Compare
@fatbasstard Could you look into implementing a |
Hi, definitely. But plan is to make that a separate/next PR. I'm fairly new in this codebase so want to be sure this is up to par. When it is through I'll make more changes (like a datasource) |
Awesome! Look forward to it. |
@ewbankkit Hi! My previous 2 PR's went trough really fast, this one has been open for a while. Any specific reason why it's not processed? Anything I can do to speed up the process? |
@YakDriver @DrFaust92 @ewbankkit @johnsonaj @jar-b Hi all, can somebody take a look at this PR? We're really looking forward to this feature ever since it was announced in November. Any feedback would be very appreciated |
To avoid any confusion with the heading in the AWS console.
…esource AWS has deprecated the ability to updated application names in-place and attempting to do so will return a ValidationException.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
% make testacc PKG=servicecatalogappregistry TESTS=TestAccServiceCatalogAppRegistryApplication_
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/servicecatalogappregistry/... -v -count 1 -parallel 20 -run='TestAccServiceCatalogAppRegistryApplication_' -timeout 360m
--- PASS: TestAccServiceCatalogAppRegistryApplication_disappears (11.48s)
--- PASS: TestAccServiceCatalogAppRegistryApplication_basic (13.42s)
--- PASS: TestAccServiceCatalogAppRegistryApplication_update (28.16s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/servicecatalogappregistry 32.857s
Thanks for your contribution, @fatbasstard! 👍 |
Thanks for handling the PR! Looking forward to making more contributions |
This functionality has been released in v5.43.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Hello, The creation of the resource worked fine but the implementation of the ARN as a tag fails to link the resource to the app. The doc is mentioning the following:
But by looking into the created myApp in the console the tags is not simply the ARN of the myApplication resources.
Tag Value tried unsuccessfully:
So to resume, I think a new attribute is required:
SOLUTION: In the meantime the ARN can be reconstructed like this: (Tested)
|
Good afternoon @fatbasstard @jar-b ! Really hyped by this new feature thanks for implementing it, I have created a issue following my precedent feedback. But in the meantime since it works with the crafted tags thanks again ! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
This PR adds a new resource:
aws_servicecatalogappregistry_application
In AWS this is now also launched as
myApplications
(announcement, documentation)So the naming can be "confusing", since the application itself technically is a "Service Catalog App Registry Application" (and I wanted to stick with the naming convention). But to somehow make clear it's the base of
myApplication
added it as a note to the documentation (so it's clear and findable if you search for TF and myApplications)Relations
Closes #34702
Closes #35255.
References
PR #35255 was created but I decided to recreate it for multiple reasons: This one uses Terraform Plugin SDK V2, naming convention is "off" and there has been no reaction from the author (and I want/need this feature to get insights on our platform).
There might be more options to the resource but this PR enables the core functionality to start implementing the
myApplications
feature.Also planning to add a datasource later (in a separate PR)
Output from Acceptance Testing