-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Resource 'aws_iam_access_key.k' not found for variable 'aws_iam_access_key.k.encrypted_secret' #2350
Comments
You use
|
Did something change in 0.11.0 with the count attribute, as all works fine with 0.10.8. |
@jamesgoodhouse When
|
This might be related: hashicorp/terraform#16688 |
@atsushi-ishibashi: yep, i'm using the same value as I did for 0.10.8. Literally nothing has changed on my end other than upgrading to 0.11.0. |
I was pointed to this as the culprit of my issues. I've yet to make changes to test it out, but looks promising. https://www.terraform.io/upgrade-guides/0-11.html#error-checking-for-output-values |
Just confirmed (by trying to Sorry for any inconvenience. |
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! |
Terraform Version
0.11.0
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
terraform plan
should not error, as it worked fine with 0.10.8.Actual Behavior
The error
output.okta_user_encrypted_secret: Resource 'aws_iam_access_key.k' not found for variable 'aws_iam_access_key.k.encrypted_secret'
happens.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
The text was updated successfully, but these errors were encountered: