Slackbot
02/08/2024, 5:01 PMPePe Amengual
02/08/2024, 5:06 PMPePe Amengual
02/08/2024, 5:07 PMPePe Amengual
02/08/2024, 5:07 PMPePe Amengual
02/08/2024, 5:08 PMNate Kurt
02/08/2024, 5:08 PMPePe Amengual
02/08/2024, 5:09 PMNate Kurt
02/08/2024, 5:09 PMPePe Amengual
02/08/2024, 5:09 PMPePe Amengual
02/08/2024, 5:10 PMNate Kurt
02/08/2024, 5:13 PMNate Kurt
02/08/2024, 5:13 PMPePe Amengual
02/08/2024, 5:15 PMPePe Amengual
02/08/2024, 5:15 PMNate Kurt
02/08/2024, 5:20 PMNate Kurt
02/08/2024, 5:20 PMNate Kurt
02/08/2024, 5:24 PMatlantis plan -d stacks/artillery/ i get this error
Ran Plan for dir: stacks/artillery workspace: default
Plan Error
running "/usr/local/bin/terraform plan -input=false -refresh -out \"/root/.atlantis/repos/rakuten-shopstyle/shopstyle-cdk/1192/default/stacks/artillery/default.tfplan\"" in "/root/.atlantis/repos/rakuten-shopstyle/shopstyle-cdk/1192/default/stacks/artillery": exit status 1
╷
│ Error: No configuration files
│
│ Plan requires configuration to be present. Planning without a configuration
│ would mark everything for destruction, which is normally not what is
│ desired. If you would like to destroy everything, run plan with the
│ -destroy option. Otherwise, create a Terraform configuration file (.tf
│ file) and try again.
╵Nate Kurt
02/08/2024, 5:25 PMPePe Amengual
02/08/2024, 5:27 PMPePe Amengual
02/08/2024, 5:27 PMNate Kurt
02/08/2024, 5:29 PMPePe Amengual
02/08/2024, 5:30 PMPePe Amengual
02/08/2024, 5:30 PMPePe Amengual
02/08/2024, 5:30 PMNate Kurt
02/08/2024, 6:27 PM- lib (for custom library stuff)
- scripts
- stacks
- stack-name
- main.py
- cdktf.json
- cdktf.out
- stacks/atlantis-ops-us-east-1
- .terraform
- .terraform.lock.hcl
- cdk.tf.json
- manifest.json
- stack-name
- main.py
- cdktf.json
- cdktf.out
- stacks/atlantis-ops-us-east-1
- .terraform
- .terraform.lock.hcl
- cdk.tf.json
- manifest.jsonPePe Amengual
02/08/2024, 6:31 PMNate Kurt
02/09/2024, 7:39 PM{
"level": "error",
"ts": "2024-02-09T19:17:36.977Z",
"caller": "models/shell_command_runner.go:158",
"msg": "running \"/root/.tfenv/bin/terraform plan -input=false -refresh -out \\\"/root/.atlantis/repos/rakuten-shopstyle/shopstyle-cdk/1184/default/stacks/atlantis/default.tfplan\\\"\" in \"/root/.atlantis/repos/rakuten-shopstyle/shopstyle-cdk/1184/default/stacks/atlantis\": exit status 1",
"json": {
"repo": "rakuten-shopstyle/shopstyle-cdk",
"pull": "1184",
"duration": 0.048867454
},
"stacktrace": "<http://github.com/runatlantis/atlantis/server/core/runtime/models.(*ShellCommandRunner).RunCommandAsync.func1|github.com/runatlantis/atlantis/server/core/runtime/models.(*ShellCommandRunner).RunCommandAsync.func1>\n\t/home/runner/work/atlantis/atlantis/server/core/runtime/models/shell_command_runner.go:158"
}RB
02/09/2024, 7:43 PMRB
02/09/2024, 7:43 PMNate Kurt
02/09/2024, 7:44 PMrepos:
- id: /.*cdktf.*/
pre_workflow_hooks:
- run: make init && make install && npm i && cdktf synth --output ci-cdktf.out
#- run: npm i && cdktf get && cdktf synth --output ci-cdktf.outRB
02/09/2024, 7:44 PMecho "hello world" or similarly trivial to see if you can avoid the errorRB
02/09/2024, 7:44 PMRB
02/09/2024, 7:45 PMNate Kurt
02/09/2024, 7:46 PMNate Kurt
02/09/2024, 7:53 PMNate Kurt
02/09/2024, 7:53 PMNate Kurt
02/09/2024, 7:54 PMrepos:
- id: /.*cdktf.*/
pre_workflow_hooks:
- run: echo "hello world"Nate Kurt
02/09/2024, 7:55 PM/.*/ insteadNate Kurt
02/09/2024, 8:00 PMNate Kurt
02/09/2024, 8:08 PMPePe Amengual
02/09/2024, 8:09 PM- id: /.*cdktf.*/ is for the repo name not the content of the repoNate Kurt
02/09/2024, 8:11 PMNate Kurt
02/09/2024, 8:19 PMPePe Amengual
02/09/2024, 8:39 PMNate Kurt
02/09/2024, 8:41 PMPePe Amengual
02/09/2024, 8:41 PMPePe Amengual
02/09/2024, 8:42 PMPePe Amengual
02/09/2024, 8:42 PMNate Kurt
02/09/2024, 8:42 PMPePe Amengual
02/09/2024, 8:45 PMNate Kurt
02/09/2024, 8:59 PMNate Kurt
02/09/2024, 9:00 PMPePe Amengual
02/09/2024, 9:04 PMPePe Amengual
02/09/2024, 9:04 PMNate Kurt
02/09/2024, 9:15 PMNate Kurt
02/09/2024, 9:15 PMPePe Amengual
02/09/2024, 9:19 PMPePe Amengual
02/09/2024, 9:19 PMPePe Amengual
02/09/2024, 9:19 PM