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

data-source/aws_ssm_parameter: Fix wrong arn attribute for full path parameter names #3211

Merged
merged 1 commit into from
Jan 31, 2018

Conversation

seppi91
Copy link

@seppi91 seppi91 commented Jan 31, 2018

This should fix the issue described in #2593

As I'm not experienced with programming in Go, I couldn't implement a respective testcase for this.

@ghost ghost added the size/XS Managed by automation to categorize the size of a PR. label Jan 31, 2018
@ghost ghost added the size/XS Managed by automation to categorize the size of a PR. label Jan 31, 2018
@bflad bflad added this to the v1.9.0 milestone Jan 31, 2018
@bflad bflad added bug Addresses a defect in current functionality. service/ssm Issues and PRs that pertain to the ssm service. labels Jan 31, 2018
@bflad bflad changed the title fix wrong ARN output for aws_ssm_parameter data-source/aws_ssm_parameter: Fix wrong arn attribute for full path parameter names Jan 31, 2018
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

Thank you so much for this contribution without knowing Go! It worked great. I added an acceptance test for you similar to the one I implemented for the aws_ssm_parameter resource 😄

make testacc TEST=./aws TESTARGS='-run=TestAccAwsSsmParameterDataSource'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -run=TestAccAwsSsmParameterDataSource -timeout 120m
=== RUN   TestAccAwsSsmParameterDataSource_basic
--- PASS: TestAccAwsSsmParameterDataSource_basic (18.73s)
=== RUN   TestAccAwsSsmParameterDataSource_fullPath
--- PASS: TestAccAwsSsmParameterDataSource_fullPath (12.30s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	31.075s

@bflad bflad merged commit 7ce1096 into hashicorp:master Jan 31, 2018
bflad added a commit that referenced this pull request Jan 31, 2018
@bflad
Copy link
Contributor

bflad commented Feb 9, 2018

This has been released in terraform-provider-aws version 1.9.0. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 8, 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 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/ssm Issues and PRs that pertain to the ssm service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants