Skip to content

Instantly share code, notes, and snippets.

@allomov-altoros
Last active March 5, 2016 11:20
Show Gist options
  • Save allomov-altoros/533ba892f7159a5b177a to your computer and use it in GitHub Desktop.
Save allomov-altoros/533ba892f7159a5b177a to your computer and use it in GitHub Desktop.
Error applying plan:
6 error(s) occurred:
* aws_iam_role.jenkins_role: Error creating IAM Role jenkins_iam_role: AccessDenied: User: arn:aws:iam::754058048930:user/alexander.lomov is not authorized to perform: iam:CreateRole on resource: arn:aws:iam::754058048930:role/jenkins_iam_role
status code: 403, request id: bafb0b3c-e24a-11e5-abf7-132439892ddb
* aws_iam_role.spinnaker_role: Error creating IAM Role spinnaker_iam_role: AccessDenied: User: arn:aws:iam::754058048930:user/alexander.lomov is not authorized to perform: iam:CreateRole on resource: arn:aws:iam::754058048930:role/spinnaker_iam_role
status code: 403, request id: bafb806d-e24a-11e5-abf7-132439892ddb
* aws_iam_role.properties_and_logging_role: Error creating IAM Role properties_and_logging_iam_role: AccessDenied: User: arn:aws:iam::754058048930:user/alexander.lomov is not authorized to perform: iam:CreateRole on resource: arn:aws:iam::754058048930:role/properties_and_logging_iam_role
status code: 403, request id: bafb5a06-e24a-11e5-9817-0371f47af72a
* aws_iam_role.base_iam_role: Error creating IAM Role base_iam_role_testing: AccessDenied: User: arn:aws:iam::754058048930:user/alexander.lomov is not authorized to perform: iam:CreateRole on resource: arn:aws:iam::754058048930:role/base_iam_role_testing
status code: 403, request id: bafc1caf-e24a-11e5-abf7-132439892ddb
* aws_key_pair.ssh_key: Error import KeyPair: InvalidKeyPair.Duplicate: The keypair 'allomov-us-west-2' already exists.
status code: 400, request id:
* aws_iam_user_policy.spinnaker: Error putting IAM user policy spinnaker: AccessDenied: User: arn:aws:iam::754058048930:user/alexander.lomov is not authorized to perform: iam:PutUserPolicy on resource: user spinnaker
status code: 403, request id: bb6bcef8-e24a-11e5-abf7-132439892ddb
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Error applying plan:

6 error(s) occurred:

* aws_iam_role.base_iam_role: Error creating IAM Role base_iam_role_testing: AccessDenied: User: arn:aws:iam::754058048930:user/alexander.lomov is not authorized to perform: iam:CreateRole on resource: arn:aws:iam::754058048930:role/base_iam_role_testing
	status code: 403, request id: 3c7ea0e7-e20a-11e5-9631-835724739dd0
* aws_iam_role.properties_and_logging_role: Error creating IAM Role properties_and_logging_iam_role: AccessDenied: User: arn:aws:iam::754058048930:user/alexander.lomov is not authorized to perform: iam:CreateRole on resource: arn:aws:iam::754058048930:role/properties_and_logging_iam_role
	status code: 403, request id: 3c98437d-e20a-11e5-9631-835724739dd0
* aws_iam_role.spinnaker_role: Error creating IAM Role spinnaker_iam_role: AccessDenied: User: arn:aws:iam::754058048930:user/alexander.lomov is not authorized to perform: iam:CreateRole on resource: arn:aws:iam::754058048930:role/spinnaker_iam_role
	status code: 403, request id: 3cb5b6a2-e20a-11e5-9631-835724739dd0
* aws_iam_user.spinnaker: Error creating IAM User spinnaker: AccessDenied: User: arn:aws:iam::754058048930:user/alexander.lomov is not authorized to perform: iam:CreateUser on resource: arn:aws:iam::754058048930:user/system/spinnaker
	status code: 403, request id: 3ccf0a90-e20a-11e5-b6d2-977b447bf712
* aws_iam_role.jenkins_role: Error creating IAM Role jenkins_iam_role: AccessDenied: User: arn:aws:iam::754058048930:user/alexander.lomov is not authorized to perform: iam:CreateRole on resource: arn:aws:iam::754058048930:role/jenkins_iam_role
	status code: 403, request id: 3ccee3a5-e20a-11e5-8971-ab507b4b272e
* aws_key_pair.ssh_key: Error import KeyPair: InvalidKeyPair.Duplicate: The keypair 'allomov-us-west-2' already exists.
	status code: 400, request id:

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment