-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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] aws_opsworks_permission: Setting 'level' has no effect, allow_ssh keeps reapplying #9104
Comments
Hi @solinv apologies this is causing you issues, can you try and help us diagnose this a little bit more for you? If possible, please can you run the following command:
This will put terraform into verbose mode and give us a debug output. When you get that file, can you have a look in the ~/tf.log file and search for:
And if you find it, can you drop the details here? Thanks Paul |
Hi @stack72 thanks for the quick answer! I just ran When running
I thought about a permission problem with the AWS account I configure for the provider (using an AWS CLI profile), but using the same account credentials in AWS Console OpsWorks allows me to change permissions. Is there anything more I can provide you with to identify the cause, maybe more complete portions of the log or any other details about our setup? Thanks again :) |
Hi @solinv Thanks for getting back to me - can you post a small config (minus any secrets) that can help us try and recreate this error? Thanks Paul |
Hi @stack72 Sure thing, please see the config (stripped of account-specific stuff) attached. I've been using it to reproduce the behaviour described. Thanks once more! :) |
Hi, is anyone working in this? I am currently working on another feature for OpsWorks (RDS DB instance registration), so if nobody is working on this, I would like to help. |
Hi @janschumann I've not gotten around to it i'm afraid - would love for you to help with it P. |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi there,
thanks for introducting the
aws_opsworks_permission
resource, it's been a great help already.We encountered two issues with it that I'd like to report. Please have a look at the following resource configuration:
The issues we've encountered:
terraform apply
, Terraform saves the new level in it's state file, but the OpsWorks permission level staysiam_only
, always.allow_ssh = true
andallow_sudo = false
, Terraform keeps re-planning and -applyingallow_ssh = true
. Note: This does not happen ifallow_sudo
is set to true also.We're using
Terraform v0.7.4
.Thanks in advance and looking forward to hearing from you!
The text was updated successfully, but these errors were encountered: