Fix CFv2 tests
This commit is contained in:
committed by
Wiktor Niesiobędzki
parent
1d76bfc3ff
commit
01904c3397
@@ -17,17 +17,17 @@ values:
|
||||
build_config:
|
||||
- source:
|
||||
- storage_source:
|
||||
- bucket: my-prefix-test-cf-bundles
|
||||
name: my-prefix-test-cf-http
|
||||
project: my-project
|
||||
- bucket: test-bucket
|
||||
name: test-test-cf-http
|
||||
project: project-id
|
||||
module.cf-http.google_storage_bucket.bucket[0]:
|
||||
lifecycle_rule:
|
||||
- action:
|
||||
- type: Delete
|
||||
condition:
|
||||
- age: 1
|
||||
name: my-prefix-test-cf-bundles
|
||||
project: my-project
|
||||
name: test-bucket
|
||||
project: project-id
|
||||
versioning:
|
||||
- enabled: true
|
||||
|
||||
@@ -36,6 +36,6 @@ counts:
|
||||
google_storage_bucket: 1
|
||||
google_storage_bucket_object: 1
|
||||
modules: 1
|
||||
resources: 3
|
||||
resources: 6
|
||||
|
||||
outputs: {}
|
||||
outputs: {}
|
||||
|
||||
@@ -18,22 +18,20 @@ values:
|
||||
location: europe-west8
|
||||
members:
|
||||
- allUsers
|
||||
project: my-project
|
||||
project: project-id
|
||||
role: roles/run.invoker
|
||||
service: test-cf-http
|
||||
module.cf-http.google_cloudfunctions2_function.function: {}
|
||||
module.cf-http.google_storage_bucket_object.bundle[0]:
|
||||
bucket: test-cf-bundles
|
||||
bucket: bucket
|
||||
customer_encryption: []
|
||||
detect_md5hash: different hash
|
||||
name: bundle-6f1ece136848fee658e335b05fe2d79d.zip
|
||||
source: /tmp/bundle-my-project-test-cf-http.zip
|
||||
name: bundle-95c1b0e5b92dae8333539b1e0ad5173b.zip
|
||||
source: /tmp/bundle-project-id-test-cf-http.zip
|
||||
|
||||
counts:
|
||||
google_cloud_run_service_iam_binding: 1
|
||||
google_cloudfunctions2_function: 1
|
||||
google_storage_bucket_object: 1
|
||||
modules: 1
|
||||
resources: 3
|
||||
|
||||
|
||||
resources: 6
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
|
||||
values:
|
||||
module.cf-http-one.google_storage_bucket_object.bundle[0]:
|
||||
source: /tmp/bundle-my-project-test-cf-http-one.zip
|
||||
source: /tmp/bundle-project-id-test-cf-http-one.zip
|
||||
module.cf-http-two.google_storage_bucket_object.bundle[0]:
|
||||
source: /tmp/bundle-my-project-test-cf-http-two.zip
|
||||
source: /tmp/bundle-project-id-test-cf-http-two.zip
|
||||
|
||||
counts:
|
||||
google_cloudfunctions2_function: 2
|
||||
google_storage_bucket_object: 2
|
||||
modules: 2
|
||||
resources: 4
|
||||
resources: 7
|
||||
|
||||
@@ -18,24 +18,18 @@ values:
|
||||
service_config:
|
||||
- secret_environment_variables:
|
||||
- key: VARIABLE_SECRET
|
||||
project_id: '1234567890'
|
||||
secret: var_secret
|
||||
project_id: project-id
|
||||
# secret: var_secret # known after apply
|
||||
version: latest
|
||||
secret_volumes:
|
||||
- mount_path: /app/secret
|
||||
project_id: '1234567890'
|
||||
secret: path_secret
|
||||
project_id: project-id
|
||||
# secret: var_secret # known after apply
|
||||
versions:
|
||||
- path: first
|
||||
version: '1'
|
||||
- path: second
|
||||
version: '2'
|
||||
- path: latest
|
||||
version: latest
|
||||
- {}
|
||||
|
||||
counts:
|
||||
google_cloudfunctions2_function: 1
|
||||
google_storage_bucket_object: 1
|
||||
modules: 1
|
||||
resources: 2
|
||||
|
||||
modules: 2
|
||||
resources: 8
|
||||
|
||||
Reference in New Issue
Block a user