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

Remove status argument from aws_iam_access_key example usage #2582

Merged
merged 1 commit into from
Jul 1, 2015
Merged

Remove status argument from aws_iam_access_key example usage #2582

merged 1 commit into from
Jul 1, 2015

Conversation

tomohiro
Copy link
Contributor

@tomohiro tomohiro commented Jul 1, 2015

aws_iam_access_key resource is not supported status field.

Example from https://www.terraform.io/docs/providers/aws/r/iam_access_key.html:

resource "aws_iam_access_key" "lb" {
    user = "${aws_iam_user.lb.name}"
    status = "Active"
}

resource "aws_iam_user" "lb" {
    name = "loadbalancer"
    path = "/system/"
}

Result:

$ terraform plan
There are warnings and/or errors related to your configuration. Please
fix these before continuing.

Errors:

  * aws_iam_access_key.lb: "status": this field cannot be set

`aws_iam_access_key` resource is not supported `status` field.

Example from https://www.terraform.io/docs/providers/aws/r/iam_access_key.html:

    resource "aws_iam_access_key" "lb" {
        user = "${aws_iam_user.lb.name}"
        status = "Active"
    }

    resource "aws_iam_user" "lb" {
        name = "loadbalancer"
        path = "/system/"
    }

Result:

    $ terraform plan
    There are warnings and/or errors related to your configuration. Please
    fix these before continuing.

    Errors:

      * aws_iam_access_key.lb: "status": this field cannot be set
@tomohiro tomohiro changed the title Remove status argument from aws_iam_access_key Remove status argument from aws_iam_access_key example usage Jul 1, 2015
@phinze
Copy link
Contributor

phinze commented Jul 1, 2015

LGTM - thanks!

phinze added a commit that referenced this pull request Jul 1, 2015
Remove status argument from `aws_iam_access_key` example usage
@phinze phinze merged commit 3dc055f into hashicorp:master Jul 1, 2015
phinze added a commit that referenced this pull request Jul 1, 2015
Remove status argument from `aws_iam_access_key` example usage
(cherry picked from commit 3dc055f)
@tomohiro tomohiro deleted the fix-iam-user-access-key-example branch July 2, 2015 03:22
@ghost
Copy link

ghost commented May 1, 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 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.

@ghost ghost locked and limited conversation to collaborators May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants