File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,18 @@ steps:
3030- id : simple-example-apply
3131 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
3232 args : ['/bin/bash', '-c', 'cft test run all --stage apply --verbose']
33+ waitFor :
34+ - simple-example-init
3335- id : simple-example-verify
3436 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
3537 args : ['/bin/bash', '-c', 'cft test run all --stage verify --verbose']
38+ waitFor :
39+ - simple-example-apply
3640- id : simple-example-teardown
3741 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
3842 args : ['/bin/bash', '-c', 'cft test run all --stage teardown --verbose']
43+ waitFor :
44+ - simple-example-verify
3945tags :
4046- ' ci'
4147- ' 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