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

Add support for recursive flag on datasource aws_ssm_parameters_by_path #21274

Closed
Xerkus opened this issue Oct 13, 2021 · 2 comments · Fixed by #22222
Closed

Add support for recursive flag on datasource aws_ssm_parameters_by_path #21274

Xerkus opened this issue Oct 13, 2021 · 2 comments · Fixed by #22222
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ssm Issues and PRs that pertain to the ssm service.

Comments

@Xerkus
Copy link
Contributor

Xerkus commented Oct 13, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Data source aws_ssm_parameters_by_path currently follows default behavior of aws ssm get-parameters-by-path --path "/path". That is, it would return direct descendants of the specified path but not deeper nested results.

aws cli and aws api has a flag --recursive and "Recursive": boolean respectively that allow to fetch all of the parameters matching the path.

I would like the aws_ssm_parameters_by_path datasource to introduce recursive argument to support recursive lookup of ssm parameters.

New or Affected Resource(s)

  • aws_ssm_parameters_by_path

Potential Terraform Configuration

data "aws_ssm_parameters_by_path" "foo" {
  path      = "/foo"
  recursive = true
}

References

@Xerkus Xerkus added the enhancement Requests to existing resources that expand the functionality or scope. label Oct 13, 2021
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/ssm Issues and PRs that pertain to the ssm service. labels Oct 13, 2021
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label Oct 13, 2021
@sjonpaulbrown
Copy link

I have worked on this on #22222

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ssm Issues and PRs that pertain to the ssm service.
Projects
None yet
3 participants