File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,23 @@ steps:
2727- id : simple-example-init
2828 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
2929 args : ['/bin/bash', '-c', 'cft test run all --stage init --verbose']
30+ waitFor :
31+ - prepare
3032- id : simple-example-apply
3133 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
3234 args : ['/bin/bash', '-c', 'cft test run all --stage apply --verbose']
35+ waitFor :
36+ - simple-example-init
3337- id : simple-example-verify
3438 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
3539 args : ['/bin/bash', '-c', 'cft test run all --stage verify --verbose']
40+ waitFor :
41+ - simple-example-apply
3642- id : simple-example-teardown
3743 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
3844 args : ['/bin/bash', '-c', 'cft test run all --stage teardown --verbose']
45+ waitFor :
46+ - simple-example-verify
3947tags :
4048- ' ci'
4149- ' integration'
Original file line number Diff line number Diff line change @@ -53,3 +53,10 @@ module "project" {
5353
5454 activate_apis = flatten (values (local. per_module_services ))
5555}
56+
57+
58+ # Wait after APIs are enabled to give time for them to spin up
59+ resource "time_sleep" "wait_after_apis" {
60+ create_duration = " 120s"
61+ depends_on = [module . project ]
62+ }
You can’t perform that action at this time.
0 commit comments