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/resource/aws_ssm_association: Prefer targets InstanceIds over instance_id for schema version 2.0+ #4328

Merged
merged 2 commits into from
Apr 24, 2018

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Apr 24, 2018

Closes #2840 by switching the example from instance_id to targets and adding note about schema version 2.0+ in instance_id argument.

@bflad bflad added documentation Introduces or discusses updates to documentation. service/ssm Issues and PRs that pertain to the ssm service. labels Apr 24, 2018
@bflad bflad added this to the v1.16.0 milestone Apr 24, 2018
@bflad bflad requested a review from a team April 24, 2018 13:23
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. labels Apr 24, 2018
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to fix the associated ssm_document in the sample to use schemaVersion 2.0 too

@@ -60,7 +60,10 @@ DOC

resource "aws_ssm_association" "foo" {
name = "test_document_association-%s"
instance_id = "${aws_instance.foo.id}"
targets {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the schemaVersion above is using 1.2 - can we update that to 2.0 to match the ssm_association?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went ahead and just removed the resource declarations above and instead provide an example ${aws_ssm_document.example.name} reference so we don't need to keep two documentation pages in sync. The details present before were not necessary here.

@ghost ghost added documentation Introduces or discusses updates to documentation. size/M Managed by automation to categorize the size of a PR. and removed size/XS Managed by automation to categorize the size of a PR. labels Apr 24, 2018
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

@bflad bflad merged commit b693ab0 into master Apr 24, 2018
@bflad bflad deleted the d-aws_ssm_association-instance_id-version branch April 24, 2018 14:32
@ghost
Copy link

ghost commented Apr 6, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. service/ssm Issues and PRs that pertain to the ssm service. size/M Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

terraform ssm association issue
2 participants