-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
aws_ssm_parameter resource does not have a overwrite option #1004
Comments
I notice after I've deleted the param, run So a better option (because I'm encrypting the parameter with a KMS key and I'm not sure TF can get the param, decrypt it with the key - how would it know WHICH key?? - and then check if it differs from what is in the state or the |
Fixes: #1004 ``` make testacc TEST=./aws TESTARGS='-run=TestAccAWSSSMParameter_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -run=TestAccAWSSSMParameter_ -timeout 120m === RUN TestAccAWSSSMParameter_basic --- PASS: TestAccAWSSSMParameter_basic (68.88s) === RUN TestAccAWSSSMParameter_update --- PASS: TestAccAWSSSMParameter_update (90.39s) === RUN TestAccAWSSSMParameter_secure --- PASS: TestAccAWSSSMParameter_secure (50.50s) === RUN TestAccAWSSSMParameter_secure_with_key --- PASS: TestAccAWSSSMParameter_secure_with_key (125.95s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 335.743s ```
Another issue: If the
Not sure if this is related to the original issue. If not, I'll open a new issue about that. To get around that (since the param is deleted from the AWS Console), I simply removed it from the state and rerun |
@FransUrbo if possible, can you try and recreate that issue and then open an alternative about that? |
Ok, no worries! Regarding the "can't detect already exists" above. This MIGHT be because I had the same resource name (but different As in:
in all my modules. Prefixing the resource name, seems to have solved the "recreation issue"... |
PS. Please back port to 0.9 if possible! |
Hi @FransUrbo there will be no further releases of the 0.9 services I'm afraid Paul |
Ok, bummer :(. So 0.10 is starting to be ok? Last I saw it was just a beta release... ? |
@FransUrbo it was the first release in the major version series - it will take a few betas before we GA it |
…1006) Fixes: #1004 ``` make testacc TEST=./aws TESTARGS='-run=TestAccAWSSSMParameter_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -run=TestAccAWSSSMParameter_ -timeout 120m === RUN TestAccAWSSSMParameter_basic --- PASS: TestAccAWSSSMParameter_basic (68.88s) === RUN TestAccAWSSSMParameter_update --- PASS: TestAccAWSSSMParameter_update (90.39s) === RUN TestAccAWSSSMParameter_secure --- PASS: TestAccAWSSSMParameter_secure (50.50s) === RUN TestAccAWSSSMParameter_secure_with_key --- PASS: TestAccAWSSSMParameter_secure_with_key (125.95s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 335.743s ```
If that's so, I'd very much like you to continue supporting 0.9. I'm not ready (i.e., brave/stupid enough), to hand my whole production environment to beta code! |
Sorry, we are only making critical big fixes to 0.9.x series. Ann
development effort is focused on 0.10 series now
It will be ready for GA in a few weeks
Paul
…On Thu, 29 Jun 2017 at 23:05, Turbo Fredriksson ***@***.***> wrote:
If that's so, I'd very much like you to continue supporting 0.9. I'm not
ready (i.e., brave/stupid enough), to hand my whole production environment
to beta code!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#1004 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAN578yREtXGORDSheplZ19LPXCbqNvoks5sJANugaJpZM4OJHDk>
.
|
That's kind'a what I meant by "support 0.9". I did NOT mean to add features etc into it so we're in full agreement there. However, we might have a slight disagreement on the word critical :). This one does not comply to that IMO, just to make things clear :D. |
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! |
I'm trying to update/replace a Parameter Store value, but TF gives
ParameterAlreadyExists
.Terraform Version
0.9.8
Affected Resource(s)
Please list the resources as a list, for example:
The text was updated successfully, but these errors were encountered: