Skip to content

Commit 9a99745

Browse files
committed
provider added
1 parent 4c6b480 commit 9a99745

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

template.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
_p: &provider_aws
2+
- aws:
3+
region: {{ .variables.region }}
4+
15
name: cdev-tests
26
kind: InfraTemplate
37
modules:
@@ -9,11 +13,13 @@ modules:
913
command: echo "check cdev hook"
1014
on_destroy: true
1115
on_plan: true
16+
providers: *provider_aws
1217
inputs:
1318
name: {{ .name }}
1419
-
1520
name: create-s3-object
1621
type: terraform
22+
providers: *provider_aws
1723
source: ./s3-file/
1824
inputs:
1925
bucket_name: {{ remoteState "this.create-bucket.id" }}

0 commit comments

Comments
 (0)