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

[Docs]: aws_cloudformation_stack_instances vs aws_cloudformation_stack_set_instance #39712

Open
aristosvo opened this issue Oct 14, 2024 · 2 comments
Labels
documentation Introduces or discusses updates to documentation. service/cloudformation Issues and PRs that pertain to the cloudformation service.

Comments

@aristosvo
Copy link
Contributor

aristosvo commented Oct 14, 2024

Documentation Link

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudformation_stack_set

Description

The documentation on both the aws_cloudformation_stack_instances and aws_cloudformation_stack_set_instance resource aren't clear about the relationship/features distinguishing the two.

It seems aws_cloudformation_stack_instances is the newest one and should solve the issues with aws_cloudformation_stack_set_instance, but it isn't propagated as the successor, while the functionality is really closely related.

Also questionable is the naming, why not aws_cloudformation_stack_set_instances?

References

#39683
#36794

Would you like to implement a fix?

Yes, but I would probably need some input from @YakDriver on the thoughts behind the new aws_cloudformation_stack_instances resource.

@aristosvo aristosvo added the documentation Introduces or discusses updates to documentation. label Oct 14, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • 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.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Oct 14, 2024
@justinretzolk justinretzolk added service/cloudformation Issues and PRs that pertain to the cloudformation service. and removed needs-triage Waiting for first response or review from a maintainer. labels Oct 14, 2024
@ericofusco
Copy link

@aristosvo Sharing my 2c but @YakDriver feel free to correct me if I'm wrong.

The rationale behind a new resource was brought up in this issue: #24752 (comment).

Basically there were too many changes and fixes that needed to happen in the existing resource that was decided to create a new one to avoid any compatibility issues.

I do think the aws_cloudformation_stack_set_instance should be deprecated in favor of the new resource.

Regarding the naming, it looks like the resource name was overlooked I'm afraid. I agree it would made more sense for the resource to be called aws_cloudformation_stack_set_instances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Introduces or discusses updates to documentation. service/cloudformation Issues and PRs that pertain to the cloudformation service.
Projects
None yet
Development

No branches or pull requests

3 participants