Guest User

Untitled

a guest
Jan 10th, 2018
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. $ terraform apply
  2. aws_iam_policy.billing_view_access: Refreshing state... (ID: arn:aws:iam::123456789012:policy/BillingViewAccess)
  3. aws_iam_policy.billing_full_access: Refreshing state... (ID: arn:aws:iam::123456789012:policy/BillingFullAccess)
  4.  
  5. An execution plan has been generated and is shown below.
  6. Resource actions are indicated with the following symbols:
  7. -/+ destroy and then create replacement
  8.  
  9. Terraform will perform the following actions:
  10.  
  11. -/+ aws_iam_policy.billing_full_access (new resource required)
  12. id: "arn:aws:iam::123456789012:policy/BillingFullAccess" => <computed> (forces new resource)
  13. arn: "arn:aws:iam::123456789012:policy/BillingFullAccess" => <computed>
  14. description: "" => "Provides full access to billing resources" (forces new resource)
  15. name: "BillingFullAccess" => "BillingFullAccess"
  16. path: "/" => "/"
  17. policy: "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"VisualEditor0\",\n \"Effect\": \"Allow\",\n \"Action\": \"aws-portal:*\",\n \"Resource\": \"*\"\n }\n ]\n}" => "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"VisualEditor0\",\n \"Effect\": \"Allow\",\n \"Action\": \"aws-portal:*\",\n \"Resource\": \"*\"\n }\n ]\n}\n"
  18.  
  19.  
  20. Plan: 1 to add, 0 to change, 1 to destroy.
  21.  
  22. Do you want to perform these actions?
  23. Terraform will perform the actions described above.
  24. Only 'yes' will be accepted to approve.
  25.  
  26. Enter a value: yes
  27.  
  28. aws_iam_policy.billing_full_access: Destroying... (ID: arn:aws:iam::123456789012:policy/BillingFullAccess)
  29.  
  30. Error: Error applying plan:
  31.  
  32. 1 error(s) occurred:
  33.  
  34. * aws_iam_policy.billing_full_access (destroy): 1 error(s) occurred:
  35.  
  36. * aws_iam_policy.billing_full_access: Error deleting IAM policy arn:aws:iam::123456789012:policy/BillingFullAccess: &awserr.requestError{awsError:(*awserr.baseError)(0xc4208f7740), statusCode:409, requestID:"c09a73f0-f07f-11e7-9e7a-8b2e04753e8d"}
  37.  
  38. Terraform does not automatically rollback in the face of errors.
  39. Instead, your Terraform state file has been partially updated with
  40. any resources that successfully completed. Please address the error
  41. above and apply again to incrementally change your infrastructure.
Add Comment
Please, Sign In to add comment