-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add datasource ssm_parameters_by_path #9615
Add datasource ssm_parameters_by_path #9615
Conversation
1bd6e9d
to
a01b4f1
Compare
aws/provider.go
Outdated
@@ -261,6 +261,7 @@ func Provider() terraform.ResourceProvider { | |||
"aws_sqs_queue": dataSourceAwsSqsQueue(), | |||
"aws_ssm_document": dataSourceAwsSsmDocument(), | |||
"aws_ssm_parameter": dataSourceAwsSsmParameter(), | |||
"aws_ssm_parameters_by_path": dataSourceAwsSsmParametersByPath(), |
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.
I could not determine which naming is better aws_ssm_parameters_by_path
or simply aws_ssm_parameters
.
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.
IMO aws_ssm_parameters
is cleaner but I'd prefer aligning with the aws-cli so aws_ssm_parameters_by_path
is the wiser choice.
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.
differentiating this feature and the single parameter only with one trailing "s" sounds like problematic user/developer experience :)
Any updates here? |
Hey guys. This is very useful things. I'm very appreciate any movement in this PR. |
Guys, we need this. Please merge :) |
I've rebased and fixed dependency |
4c016ae
to
a4e3a6c
Compare
do you know when should be release please ? It would be very useful feature :) |
Notification of Recent and Upcoming Changes to ContributionsThank you for this contribution! There have been a few recent development changes that affect this pull request. We apologize for the inconvenience, especially if there have been long review delays up until now. Please note that this is automated message from an unmonitored account. See the FAQ for additional information on the maintainer team and review prioritization. If you are unable to complete these updates, please leave a comment for the community and maintainers so someone can potentially continue the work. The maintainers will encourage other contributors to use the existing contribution as the base for additional changes as appropriate. Otherwise, contributions that do not receive updated code or comments from the original contributor may be closed in the future so the maintainers can focus on active items. For the most up to date information about Terraform AWS Provider development, see the Contributing Guide. Additional technical debt changes can be tracked with the As part of updating a pull request with these changes, the most current unit testing and linting will run. These may report issues that were not previously reported. Terraform 0.12 SyntaxReference: #8950 Version 3 and later of the Terraform AWS Provider, which all existing contributions would potentially be added, only supports Terraform 0.12 and later. Certain syntax elements of Terraform 0.11 and earlier show deprecation warnings during runs with Terraform 0.12. Documentation and test configurations, such as those including deprecated string interpolations ( Action Required: Terraform Plugin SDK Version 2Reference: #14551 The Terraform AWS Provider has been upgraded to the latest version of the Terraform Plugin SDK. Generally, most changes to contributions should only involve updating Go import paths in source code files. Please see the referenced issue for additional information. Action Required: Removal of website/aws.erb FileReference: #14712 Any changes to the Upcoming Change of Git Branch NamingReference: #14292 Development environments will need their upstream Git branch updated from Upcoming Change of GitHub OrganizationReference: #14715 This repository will be migrating from https://github.com/terraform-providers/terraform-provider-aws to https://github.com/hashicorp/terraform-provider-aws. No practitioner or developer action is anticipated and most GitHub functionality will automatically redirect to the new location. Go import paths including |
@katainaka0503 do you know if this gonna be merged ? |
@tsalinguepumpkin I don't know how this repo's mainteners wish to deal with this PR at all. Maybe this PR won't ever be merged, since there is no comment from the mainteners here on this PR. |
We need this feature too! The workaround I have is utterly ugly RN |
Is there any chance that this will be merged any time soon? This is a very useful feature. |
Was surprised to find out this feature doesn't exist yet, I need this as well. |
This is very useful! Merge it, please!!! |
any updates on the subject ? |
Just found this PR since I also "need" this datasource. Any chance this can/will get any support? @katainaka0503 You're still monitoring this? |
Yes. If maintainors are still monitoring this PR, I'm ready to rewrite this PR as it fits current code base. |
Going to tag some of the recent contibuters: @anGie44 @ewbankkit @bflad This is feature people want (including myself 😉 ) and @katainaka0503 is willing to finish up the PR. Can this PR get some ❤️ ? |
hi! any news? this feature is really great and we all waiting for the release 👍 |
Is there anything I could do to help with this? Right now the approach we're using is hacky as heck involving awscli and I would massively love to not be doing that. |
It might be worth closing this and creating a new PR with the updates rom #9615 (comment). |
5dfab2d
to
ac4b98b
Compare
Acceptance test output: % make testacc TESTARGS='-run=TestAccAWSSsmParametersByPathDataSource_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSsmParametersByPathDataSource_ -timeout 180m === RUN TestAccAWSSsmParametersByPathDataSource_basic === PAUSE TestAccAWSSsmParametersByPathDataSource_basic === CONT TestAccAWSSsmParametersByPathDataSource_basic --- PASS: TestAccAWSSsmParametersByPathDataSource_basic (16.99s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 21.585s
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 🚀.
Commercial
% make testacc TESTARGS='-run=TestAccAWSSsmParametersByPathDataSource_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSsmParametersByPathDataSource_ -timeout 180m
=== RUN TestAccAWSSsmParametersByPathDataSource_basic
=== PAUSE TestAccAWSSsmParametersByPathDataSource_basic
=== CONT TestAccAWSSsmParametersByPathDataSource_basic
--- PASS: TestAccAWSSsmParametersByPathDataSource_basic (17.70s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 20.858s
GovCloud
% make testacc TESTARGS='-run=TestAccAWSSsmParametersByPathDataSource_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSsmParametersByPathDataSource_ -timeout 180m
=== RUN TestAccAWSSsmParametersByPathDataSource_basic
=== PAUSE TestAccAWSSsmParametersByPathDataSource_basic
=== CONT TestAccAWSSsmParametersByPathDataSource_basic
--- PASS: TestAccAWSSsmParametersByPathDataSource_basic (20.37s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 25.193s
@katainaka0503 Thanks for the contribution 🎉 👏. |
This functionality has been released in v3.61.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! |
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. |
Community Note
Closes #9429.
Closes #11318.
Release note for CHANGELOG:
Output from acceptance testing: