Created
October 6, 2017 13:34
-
-
Save ingshtrom/95764a4aa1564884ca7cc6a384e3bfe6 to your computer and use it in GitHub Desktop.
output from failed codebuild run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Container] 2017/10/06 13:26:00 Waiting for agent | |
[Container] 2017/10/06 13:26:13 Phase is DOWNLOAD_SOURCE | |
[Container] 2017/10/06 13:26:14 CODEBUILD_SRC_DIR=/codebuild/output/src151031169/src/github.com/olmg/provision | |
[Container] 2017/10/06 13:26:14 YAML location is /codebuild/output/src151031169/src/github.com/olmg/provision/buildspecs/terraform_validate.yaml | |
[Container] 2017/10/06 13:26:14 Processing buildspec environment variables | |
[Container] 2017/10/06 13:26:14 TerraformVersion = 0.10.7 | |
[Container] 2017/10/06 13:26:14 TF_LOG = trace | |
[Container] 2017/10/06 13:26:14 Processing project-level environment variables | |
[Container] 2017/10/06 13:26:14 Moving to directory /codebuild/output/src151031169/src/github.com/olmg/provision | |
[Container] 2017/10/06 13:26:14 Registering with agent | |
[Container] 2017/10/06 13:26:14 Phases found in YAML: 2 | |
[Container] 2017/10/06 13:26:14 INSTALL: 5 commands | |
[Container] 2017/10/06 13:26:14 BUILD: 3 commands | |
[Container] 2017/10/06 13:26:16 Phase complete: DOWNLOAD_SOURCE Success: true | |
[Container] 2017/10/06 13:26:16 Phase context status code: Message: | |
[Container] 2017/10/06 13:26:16 Entering phase INSTALL | |
[Container] 2017/10/06 13:26:16 Running command cd /tmp | |
[Container] 2017/10/06 13:26:16 Running command curl -o terraform.zip https://releases.hashicorp.com/terraform/${TerraformVersion}/terraform_${TerraformVersion}_linux_amd64.zip | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
63 12.8M 63 8353k 0 0 12.8M 0 --:--:-- --:--:-- --:--:-- 12.9M | |
100 12.8M 100 12.8M 0 0 17.6M 0 --:--:-- --:--:-- --:--:-- 17.6M | |
[Container] 2017/10/06 13:26:17 Running command unzip terraform.zip | |
Archive: terraform.zip | |
inflating: terraform | |
[Container] 2017/10/06 13:26:17 Running command mv terraform /usr/bin | |
[Container] 2017/10/06 13:26:17 Running command cd - | |
/codebuild/output/src151031169/src/github.com/olmg/provision | |
[Container] 2017/10/06 13:26:17 Phase complete: INSTALL Success: true | |
[Container] 2017/10/06 13:26:17 Phase context status code: Message: | |
[Container] 2017/10/06 13:26:18 Entering phase BUILD | |
[Container] 2017/10/06 13:26:18 Running command cd ./aws/terraform | |
[Container] 2017/10/06 13:26:18 Running command terraform init -no-color | |
2017/10/06 13:26:18 [INFO] Terraform version: 0.10.7 5f9bf20ba6aaa174600109a95cc77f7788d4959b+CHANGES | |
2017/10/06 13:26:18 [INFO] Go runtime version: go1.9 | |
2017/10/06 13:26:18 [INFO] CLI args: []string{"/usr/bin/terraform", "init", "-no-color"} | |
2017/10/06 13:26:18 [DEBUG] Attempting to open CLI config file: /root/.terraformrc | |
2017/10/06 13:26:18 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/10/06 13:26:18 [DEBUG] CLI Config is main.Config{Providers:map[string]string{}, Provisioners:map[string]string{}, DisableCheckpoint:false, DisableCheckpointSignature:false, PluginCacheDir:""} | |
2017/10/06 13:26:18 [INFO] CLI command args: []string{"init", "-no-color"} | |
2017/10/06 13:26:18 [DEBUG] command: loading backend config file: /codebuild/output/src151031169/src/github.com/olmg/provision/aws/terraform | |
Initializing the backend... | |
2017/10/06 13:26:18 [DEBUG] command: no data state file found for backend config | |
2017/10/06 13:26:18 [DEBUG] New state was assigned lineage "28300897-8bc9-4db5-a405-f80132d9e4aa" | |
2017/10/06 13:26:18 [INFO] Building AWS region structure | |
2017/10/06 13:26:18 [INFO] Building AWS auth structure | |
2017/10/06 13:26:18 [INFO] Setting AWS metadata API timeout to 100ms | |
2017/10/06 13:26:18 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id | |
2017/10/06 13:26:18 [DEBUG] plugin: waiting for all plugin processes to complete... | |
Error configuring the backend "s3": No valid credential sources found for AWS Provider. | |
Please see https://terraform.io/docs/providers/aws/index.html for more information on | |
providing credentials for the AWS Provider | |
Please update the configuration in your Terraform files to fix this error | |
then run this command again. | |
[Container] 2017/10/06 13:26:18 Command did not exit successfully terraform init -no-color exit status 1 | |
[Container] 2017/10/06 13:26:18 Phase complete: BUILD Success: false | |
[Container] 2017/10/06 13:26:18 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: terraform init -no-color. Reason: exit status 1 | |
[Container] 2017/10/06 13:26:19 Preparing to copy artifacts | |
[Container] 2017/10/06 13:26:19 No artifact files specified |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment