{"action":"created","issue":{"url":"https://api.github.com/repos/cloudposse/root.cloudposse.co/issues/24","repository_url":"https://api.github.com/repos/cloudposse/root.cloudposse.co","labels_url":"https://api.github.com/repos/cloudposse/root.cloudposse.co/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/cloudposse/root.cloudposse.co/issues/24/comments","events_url":"https://api.github.com/repos/cloudposse/root.cloudposse.co/issues/24/events","html_url":"https://github.com/cloudposse/root.cloudposse.co/pull/24","id":373258206,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MjMwMzkw","number":24,"title":"IAM account settings & users","user":{"login":"osterman","id":52489,"node_id":"MDQ6VXNlcjUyNDg5","avatar_url":"https://avatars3.githubusercontent.com/u/52489?v=4","gravatar_id":"","url":"https://api.github.com/users/osterman","html_url":"https://github.com/osterman","followers_url":"https://api.github.com/users/osterman/followers","following_url":"https://api.github.com/users/osterman/following{/other_user}","gists_url":"https://api.github.com/users/osterman/gists{/gist_id}","starred_url":"https://api.github.com/users/osterman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osterman/subscriptions","organizations_url":"https://api.github.com/users/osterman/orgs","repos_url":"https://api.github.com/users/osterman/repos","events_url":"https://api.github.com/users/osterman/events{/privacy}","received_events_url":"https://api.github.com/users/osterman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-24T00:38:43Z","updated_at":"2018-10-24T21:40:15Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/cloudposse/root.cloudposse.co/pulls/24","html_url":"https://github.com/cloudposse/root.cloudposse.co/pull/24","diff_url":"https://github.com/cloudposse/root.cloudposse.co/pull/24.diff","patch_url":"https://github.com/cloudposse/root.cloudposse.co/pull/24.patch"},"body":"## what\r\n* Upgrade geodesic\r\n* Add `account-settings` module\r\n* Add `users` module\r\n\r\n## why\r\n* Facilitate gitops style operations for user management"},"comment":{"url":"https://api.github.com/repos/cloudposse/root.cloudposse.co/issues/comments/432837985","html_url":"https://github.com/cloudposse/root.cloudposse.co/pull/24#issuecomment-432837985","issue_url":"https://api.github.com/repos/cloudposse/root.cloudposse.co/issues/24","id":432837985,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjgzNzk4NQ==","user":{"login":"cloudpossebot","id":11232728,"node_id":"MDQ6VXNlcjExMjMyNzI4","avatar_url":"https://avatars2.githubusercontent.com/u/11232728?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudpossebot","html_url":"https://github.com/cloudpossebot","followers_url":"https://api.github.com/users/cloudpossebot/followers","following_url":"https://api.github.com/users/cloudpossebot/following{/other_user}","gists_url":"https://api.github.com/users/cloudpossebot/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudpossebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudpossebot/subscriptions","organizations_url":"https://api.github.com/users/cloudpossebot/orgs","repos_url":"https://api.github.com/users/cloudpossebot/repos","events_url":"https://api.github.com/users/cloudpossebot/events{/privacy}","received_events_url":"https://api.github.com/users/cloudpossebot/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T21:40:15Z","updated_at":"2018-10-24T21:40:15Z","author_association":"MEMBER","body":"Ran Plan for 2 projects:\n1. workspace: `default` dir: `conf/atlantis-repos`\n1. workspace: `default` dir: `conf/users`\n\n### 1. workspace: `default` dir: `conf/atlantis-repos`\n<details><summary>Show Output</summary>\n\n```diff\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos] 2018/10/24 21:39:43 Running command: terraform --version\n[terragrunt] 2018/10/24 21:39:43 Reading Terragrunt config file at /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/terraform.tfvars\n[terragrunt] 2018/10/24 21:39:43 Downloading Terraform configurations from git::https://github.com/cloudposse/terraform-github-repository-webhooks.git?ref=tags/0.1.0 into /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/.terragrunt-cache/Q6jSBZQH6pQ8LTq88mlaTxeK4WE/pdJ6jMEXAcODiJiFbHvBHrcrnPw using terraform init\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos] 2018/10/24 21:39:43 Initializing remote state for the s3 backend\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos] 2018/10/24 21:39:44 Running command: terraform init -backend-config=key=atlantis-repos/terraform.tfstate -backend-config=region=us-west-2 -backend-config=encrypt=true -backend-config=dynamodb_table=cpco-root-terraform-state-lock -backend-config=bucket=cpco-root-terraform-state -get=false -get-plugins=false -backend=false -from-module=git::https://github.com/cloudposse/terraform-github-repository-webhooks.git?ref=tags/0.1.0 -no-color /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/.terragrunt-cache/Q6jSBZQH6pQ8LTq88mlaTxeK4WE/pdJ6jMEXAcODiJiFbHvBHrcrnPw\nCopying configuration from \"git::https://github.com/cloudposse/terraform-github-repository-webhooks.git?ref=tags/0.1.0\"...\nBackend reinitialization required. Please run \"terraform init\".\nReason: Initial configuration of the requested backend \"s3\"\n\nThe \"backend\" is the interface that Terraform uses to store state,\nperform operations, etc. If this message is showing up, it means that the\nTerraform configuration you're using is using a custom configuration for\nthe Terraform backend.\n\nChanges to backend configurations require reinitialization. This allows\nTerraform to setup the new configuration, copy existing state, etc. This is\nonly done during \"terraform init\". Please run that command now then try again.\n\nIf the change reason above is incorrect, please verify your configuration\nhasn't changed and try again. At this point, no changes to your existing\nconfiguration or state have been made.\n\n\nMissing required providers.\n\nThe following provider constraints are not met by the currently-installed\nprovider plugins:\n\n* github (any version)\n\nTerraform can automatically download and install plugins to meet the given\nconstraints, but this step was skipped due to the use of -get-plugins=false\nand/or -plugin-dir on the command line.\n\nIf automatic installation is not possible or desirable in your environment,\nyou may manually install plugins by downloading a suitable distribution package\nand placing the plugin's executable file in one of the directories given in\nby -plugin-dir on the command line, or in the following directory if custom\nplugin directories are not set:\n    terraform.d/plugins/linux_amd64\n\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos] 2018/10/24 21:39:45 Ignoring error from call to init, as this is a known Terraform bug: https://github.com/hashicorp/terraform/issues/18460\n[terragrunt] 2018/10/24 21:39:45 Copying files from /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos into /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/.terragrunt-cache/Q6jSBZQH6pQ8LTq88mlaTxeK4WE/pdJ6jMEXAcODiJiFbHvBHrcrnPw\n[terragrunt] 2018/10/24 21:39:45 Setting working directory to /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/.terragrunt-cache/Q6jSBZQH6pQ8LTq88mlaTxeK4WE/pdJ6jMEXAcODiJiFbHvBHrcrnPw\n[terragrunt] 2018/10/24 21:39:45 Initializing remote state for the s3 backend\n[terragrunt] 2018/10/24 21:39:45 Running command: terraform init -backend-config=dynamodb_table=cpco-root-terraform-state-lock -backend-config=bucket=cpco-root-terraform-state -backend-config=key=atlantis-repos/terraform.tfstate -backend-config=region=us-west-2 -backend-config=encrypt=true -no-color\n\nInitializing the backend...\n\nSuccessfully configured the backend \"s3\"! Terraform will automatically\nuse this backend unless the backend configuration changes.\n\nInitializing provider plugins...\n- Checking for available provider plugins on https://releases.hashicorp.com...\n- Downloading plugin for provider \"github\" (1.3.0)...\n\nThe following providers do not have any version constraints in configuration,\nso the latest version was installed.\n\nTo prevent automatic upgrades to new major versions that may contain breaking\nchanges, it is recommended to add version = \"...\" constraints to the\ncorresponding provider blocks in configuration, with the constraint strings\nsuggested below.\n\n* provider.github: version = \"~> 1.3\"\n\nTerraform has been successfully initialized!\n\nYou may now begin working with Terraform. Try running \"terraform plan\" to see\nany changes that are required for your infrastructure. All Terraform commands\nshould now work.\n\nIf you ever set or change modules or backend configuration for Terraform,\nrerun this command to reinitialize your working directory. If you forget, other\ncommands will detect it and remind you to do so if necessary.\nchamber exec atlantis github -- terragrunt plan -out /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/atlantis-repos-default.tfplan\nwarning: overwriting environment variable ATLANTIS_GH_WEBHOOK_SECRET\nwarning: overwriting environment variable ATLANTIS_REPO_WHITELIST\nwarning: overwriting environment variable ATLANTIS_REPO_CONFIG\nwarning: overwriting environment variable ATLANTIS_WAKE_WORD\nwarning: overwriting environment variable ATLANTIS_ATLANTIS_URL\nwarning: overwriting environment variable ATLANTIS_IMAGE\nwarning: overwriting environment variable ATLANTIS_LOG_LEVEL\nwarning: overwriting environment variable ATLANTIS_GH_TOKEN\nwarning: overwriting environment variable ATLANTIS_ALLOW_REPO_CONFIG\nwarning: overwriting environment variable ATLANTIS_GH_TEAM_WHITELIST\nwarning: overwriting environment variable ATLANTIS_DOMAIN\nwarning: overwriting environment variable ATLANTIS_HOSTNAME\nwarning: overwriting environment variable ATLANTIS_PORT\nwarning: overwriting environment variable STAGE\nwarning: overwriting environment variable ATLANTIS_GH_USER\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos] 2018/10/24 21:39:50 Running command: terraform --version\n[terragrunt] 2018/10/24 21:39:50 Reading Terragrunt config file at /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/terraform.tfvars\n[terragrunt] 2018/10/24 21:39:50 Terraform files in /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/.terragrunt-cache/Q6jSBZQH6pQ8LTq88mlaTxeK4WE/pdJ6jMEXAcODiJiFbHvBHrcrnPw are up to date. Will not download again.\n[terragrunt] 2018/10/24 21:39:50 Copying files from /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos into /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/.terragrunt-cache/Q6jSBZQH6pQ8LTq88mlaTxeK4WE/pdJ6jMEXAcODiJiFbHvBHrcrnPw\n[terragrunt] 2018/10/24 21:39:50 Setting working directory to /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/.terragrunt-cache/Q6jSBZQH6pQ8LTq88mlaTxeK4WE/pdJ6jMEXAcODiJiFbHvBHrcrnPw\n[terragrunt] 2018/10/24 21:39:51 Running command: terraform plan -lock-timeout=1m -no-color -input=false -out /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/atlantis-repos/atlantis-repos-default.tfplan\nRefreshing Terraform state in-memory prior to plan...\nThe refreshed state will be used to calculate this plan, but will not be\npersisted to local or remote state storage.\n\ngithub_repository_webhook.default: Refreshing state... (ID: 58894946)\n\n------------------------------------------------------------------------\n\nNo changes. Infrastructure is up-to-date.\n\nThis means that Terraform did not detect any differences between your\nconfiguration and real physical resources that exist. As a result, no\nactions need to be performed.\nReleasing state lock. This may take a few moments...\n\n```\n\n* :arrow_forward: To **apply** this plan, comment:\n    * `atlantis/root apply -p atlantis-repos`\n* :put_litter_in_its_place: To **destroy** this plan, comment:\n    * `atlantis/root destroy -p atlantis-repos`\n* :repeat: To **plan** this project again, comment:\n    * `atlantis/root plan -p atlantis-repos`\n</details>\n\n---\n### 2. workspace: `default` dir: `conf/users`\n**Plan Error**\n<details><summary>Show Output</summary>\n\n```\nexit status 2: running \"make plan\" in \"/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users\": \nchamber exec mailgun -- terragrunt plan -out /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/users-default.tfplan\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users] 2018/10/24 21:39:55 Running command: terraform --version\n[terragrunt] 2018/10/24 21:39:56 Reading Terragrunt config file at /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/terraform.tfvars\n[terragrunt] 2018/10/24 21:39:56 Downloading Terraform configurations from git::https://github.com/cloudposse/terraform-root-modules.git?ref=0.6.0 into /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/.terragrunt-cache/8t2WM4uxs3jeknUEIsisw7czr_A/1ECxMm2XkgOwPqdOoU6_rLTn-Xc using terraform init\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users] 2018/10/24 21:39:56 Initializing remote state for the s3 backend\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users] 2018/10/24 21:39:57 Running command: terraform init -backend-config=bucket=cpco-root-terraform-state -backend-config=key=users/terraform.tfstate -backend-config=region=us-west-2 -backend-config=encrypt=true -backend-config=dynamodb_table=cpco-root-terraform-state-lock -get=false -get-plugins=false -backend=false -from-module=git::https://github.com/cloudposse/terraform-root-modules.git?ref=0.6.0 -no-color /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/.terragrunt-cache/8t2WM4uxs3jeknUEIsisw7czr_A/1ECxMm2XkgOwPqdOoU6_rLTn-Xc\nCopying configuration from \"git::https://github.com/cloudposse/terraform-root-modules.git?ref=0.6.0\"...\nTerraform initialized in an empty directory!\n\nThe directory has no Terraform configuration files. You may begin working\nwith Terraform immediately by creating Terraform configuration files.\n[terragrunt] 2018/10/24 21:39:57 Copying files from /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users into /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/.terragrunt-cache/8t2WM4uxs3jeknUEIsisw7czr_A/1ECxMm2XkgOwPqdOoU6_rLTn-Xc/aws/users\n[terragrunt] 2018/10/24 21:39:57 Setting working directory to /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/.terragrunt-cache/8t2WM4uxs3jeknUEIsisw7czr_A/1ECxMm2XkgOwPqdOoU6_rLTn-Xc/aws/users\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users] 2018/10/24 21:39:57 Initializing remote state for the s3 backend\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users] 2018/10/24 21:39:57 Running command: terraform init -backend-config=key=users/terraform.tfstate -backend-config=region=us-west-2 -backend-config=encrypt=true -backend-config=dynamodb_table=cpco-root-terraform-state-lock -backend-config=bucket=cpco-root-terraform-state\n\u001B[0m\u001B[1mInitializing modules...\u001B[0m\n- module.osterman\n  Getting source \"git::https://github.com/cloudposse/terraform-aws-iam-user.git?ref=tags/0.1.1\"\n- module.osterman_welcome\n  Getting source \"git::https://github.com/cloudposse/terraform-null-smtp-mail.git?ref=tags/0.1.0\"\n\n\u001B[0m\u001B[1mInitializing the backend...\u001B[0m\n\u001B[0m\u001B[32m\nSuccessfully configured the backend \"s3\"! Terraform will automatically\nuse this backend unless the backend configuration changes.\u001B[0m\n\n\u001B[0m\u001B[1mInitializing provider plugins...\u001B[0m\n- Checking for available provider plugins on https://releases.hashicorp.com...\n- Downloading plugin for provider \"template\" (1.0.0)...\n- Downloading plugin for provider \"null\" (1.0.0)...\n- Downloading plugin for provider \"aws\" (1.41.0)...\n\nThe following providers do not have any version constraints in configuration,\nso the latest version was installed.\n\nTo prevent automatic upgrades to new major versions that may contain breaking\nchanges, it is recommended to add version = \"...\" constraints to the\ncorresponding provider blocks in configuration, with the constraint strings\nsuggested below.\n\n* provider.aws: version = \"~> 1.41\"\n* provider.null: version = \"~> 1.0\"\n* provider.template: version = \"~> 1.0\"\n\n\u001B[0m\u001B[1m\u001B[32mTerraform has been successfully initialized!\u001B[0m\u001B[32m\u001B[0m\n\u001B[0m\u001B[32m\nYou may now begin working with Terraform. Try running \"terraform plan\" to see\nany changes that are required for your infrastructure. All Terraform commands\nshould now work.\n\nIf you ever set or change modules or backend configuration for Terraform,\nrerun this command to reinitialize your working directory. If you forget, other\ncommands will detect it and remind you to do so if necessary.\u001B[0m\n[terragrunt] 2018/10/24 21:40:07 Running command: terraform plan -lock-timeout=1m -no-color -input=false -out /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/users-default.tfplan\nAcquiring state lock. This may take a few moments...\nRefreshing Terraform state in-memory prior to plan...\nThe refreshed state will be used to calculate this plan, but will not be\npersisted to local or remote state storage.\n\ndata.terraform_remote_state.root_iam: Refreshing state...\ndata.terraform_remote_state.account_settings: Refreshing state...\nReleasing state lock. This may take a few moments...\n\nError: Error refreshing state: 3 error(s) occurred:\n\n* data.terraform_remote_state.root_iam: 1 error(s) occurred:\n\n* data.terraform_remote_state.root_iam: data.terraform_remote_state.root_iam: error loading the remote state: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'\n\tstatus code: 400, request id: 2DC883C9BB469170, host id: 2HbJx9MdVB9JQe7PpBtR4Wh+tFNiRdfbFeyXItL6VYj6wy2qCEHE18kVNQl6TVpTIQt53stUyoE=\n* data.terraform_remote_state.account_settings: 1 error(s) occurred:\n\n* data.terraform_remote_state.account_settings: data.terraform_remote_state.account_settings: error loading the remote state: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'\n\tstatus code: 400, request id: 5319F50E2DFF3772, host id: nA1f/bGjCyWOHlybLN6EMchXkZaKt6uYkeKbK3prUZC7dGhw5AR9dJ2YBKon1BBXRpXiSTK7pkg=\n* provider.aws: The role \"atlantis\" cannot be assumed.\n\n  There are a number of possible causes of this - the most common are:\n    * The credentials used in order to assume the role are invalid\n    * The credentials do not have appropriate permission to assume the role\n    * The role ARN is not valid\n\n\n[terragrunt] 2018/10/24 21:40:14 Hit multiple errors:\nexit status 1\nmake: *** [Makefile:7: plan] Error 1\n\nchamber exec mailgun -- terragrunt plan -out /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/users-default.tfplan\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users] 2018/10/24 21:39:55 Running command: terraform --version\n[terragrunt] 2018/10/24 21:39:56 Reading Terragrunt config file at /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/terraform.tfvars\n[terragrunt] 2018/10/24 21:39:56 Downloading Terraform configurations from git::https://github.com/cloudposse/terraform-root-modules.git?ref=0.6.0 into /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/.terragrunt-cache/8t2WM4uxs3jeknUEIsisw7czr_A/1ECxMm2XkgOwPqdOoU6_rLTn-Xc using terraform init\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users] 2018/10/24 21:39:56 Initializing remote state for the s3 backend\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users] 2018/10/24 21:39:57 Running command: terraform init -backend-config=bucket=cpco-root-terraform-state -backend-config=key=users/terraform.tfstate -backend-config=region=us-west-2 -backend-config=encrypt=true -backend-config=dynamodb_table=cpco-root-terraform-state-lock -get=false -get-plugins=false -backend=false -from-module=git::https://github.com/cloudposse/terraform-root-modules.git?ref=0.6.0 -no-color /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/.terragrunt-cache/8t2WM4uxs3jeknUEIsisw7czr_A/1ECxMm2XkgOwPqdOoU6_rLTn-Xc\nCopying configuration from \"git::https://github.com/cloudposse/terraform-root-modules.git?ref=0.6.0\"...\nTerraform initialized in an empty directory!\n\nThe directory has no Terraform configuration files. You may begin working\nwith Terraform immediately by creating Terraform configuration files.\n[terragrunt] 2018/10/24 21:39:57 Copying files from /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users into /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/.terragrunt-cache/8t2WM4uxs3jeknUEIsisw7czr_A/1ECxMm2XkgOwPqdOoU6_rLTn-Xc/aws/users\n[terragrunt] 2018/10/24 21:39:57 Setting working directory to /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/.terragrunt-cache/8t2WM4uxs3jeknUEIsisw7czr_A/1ECxMm2XkgOwPqdOoU6_rLTn-Xc/aws/users\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users] 2018/10/24 21:39:57 Initializing remote state for the s3 backend\n[terragrunt] [/home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users] 2018/10/24 21:39:57 Running command: terraform init -backend-config=key=users/terraform.tfstate -backend-config=region=us-west-2 -backend-config=encrypt=true -backend-config=dynamodb_table=cpco-root-terraform-state-lock -backend-config=bucket=cpco-root-terraform-state\n\u001B[0m\u001B[1mInitializing modules...\u001B[0m\n- module.osterman\n  Getting source \"git::https://github.com/cloudposse/terraform-aws-iam-user.git?ref=tags/0.1.1\"\n- module.osterman_welcome\n  Getting source \"git::https://github.com/cloudposse/terraform-null-smtp-mail.git?ref=tags/0.1.0\"\n\n\u001B[0m\u001B[1mInitializing the backend...\u001B[0m\n\u001B[0m\u001B[32m\nSuccessfully configured the backend \"s3\"! Terraform will automatically\nuse this backend unless the backend configuration changes.\u001B[0m\n\n\u001B[0m\u001B[1mInitializing provider plugins...\u001B[0m\n- Checking for available provider plugins on https://releases.hashicorp.com...\n- Downloading plugin for provider \"template\" (1.0.0)...\n- Downloading plugin for provider \"null\" (1.0.0)...\n- Downloading plugin for provider \"aws\" (1.41.0)...\n\nThe following providers do not have any version constraints in configuration,\nso the latest version was installed.\n\nTo prevent automatic upgrades to new major versions that may contain breaking\nchanges, it is recommended to add version = \"...\" constraints to the\ncorresponding provider blocks in configuration, with the constraint strings\nsuggested below.\n\n* provider.aws: version = \"~> 1.41\"\n* provider.null: version = \"~> 1.0\"\n* provider.template: version = \"~> 1.0\"\n\n\u001B[0m\u001B[1m\u001B[32mTerraform has been successfully initialized!\u001B[0m\u001B[32m\u001B[0m\n\u001B[0m\u001B[32m\nYou may now begin working with Terraform. Try running \"terraform plan\" to see\nany changes that are required for your infrastructure. All Terraform commands\nshould now work.\n\nIf you ever set or change modules or backend configuration for Terraform,\nrerun this command to reinitialize your working directory. If you forget, other\ncommands will detect it and remind you to do so if necessary.\u001B[0m\n[terragrunt] 2018/10/24 21:40:07 Running command: terraform plan -lock-timeout=1m -no-color -input=false -out /home/atlantis/.atlantis/repos/cloudposse/root.cloudposse.co/24/default/conf/users/users-default.tfplan\nAcquiring state lock. This may take a few moments...\nRefreshing Terraform state in-memory prior to plan...\nThe refreshed state will be used to calculate this plan, but will not be\npersisted to local or remote state storage.\n\ndata.terraform_remote_state.root_iam: Refreshing state...\ndata.terraform_remote_state.account_settings: Refreshing state...\nReleasing state lock. This may take a few moments...\n\nError: Error refreshing state: 3 error(s) occurred:\n\n* data.terraform_remote_state.root_iam: 1 error(s) occurred:\n\n* data.terraform_remote_state.root_iam: data.terraform_remote_state.root_iam: error loading the remote state: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'\n\tstatus code: 400, request id: 2DC883C9BB469170, host id: 2HbJx9MdVB9JQe7PpBtR4Wh+tFNiRdfbFeyXItL6VYj6wy2qCEHE18kVNQl6TVpTIQt53stUyoE=\n* data.terraform_remote_state.account_settings: 1 error(s) occurred:\n\n* data.terraform_remote_state.account_settings: data.terraform_remote_state.account_settings: error loading the remote state: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'\n\tstatus code: 400, request id: 5319F50E2DFF3772, host id: nA1f/bGjCyWOHlybLN6EMchXkZaKt6uYkeKbK3prUZC7dGhw5AR9dJ2YBKon1BBXRpXiSTK7pkg=\n* provider.aws: The role \"atlantis\" cannot be assumed.\n\n  There are a number of possible causes of this - the most common are:\n    * The credentials used in order to assume the role are invalid\n    * The credentials do not have appropriate permission to assume the role\n    * The role ARN is not valid\n\n\n[terragrunt] 2018/10/24 21:40:14 Hit multiple errors:\nexit status 1\nmake: *** [Makefile:7: plan] Error 1\n\n```\n</details>\n\n---\n*  :fast_forward: To **apply** all unapplied plans from this pull request, comment:\n    * `atlantis/root apply -p atlantis-repos`\n"}}
{"actor":{"display_login":"cloudpossebot"}}