diff --git a/template.yaml b/template.yaml index 0ba8d23..46a44d2 100644 --- a/template.yaml +++ b/template.yaml @@ -1,3 +1,7 @@ +_p: &provider_aws +- aws: + region: {{ .variables.region }} + name: cdev-tests kind: InfraTemplate modules: @@ -9,11 +13,13 @@ modules: command: echo "check cdev hook" on_destroy: true on_plan: true + providers: *provider_aws inputs: name: {{ .name }} - name: create-s3-object type: terraform + providers: *provider_aws source: ./s3-file/ inputs: bucket_name: {{ remoteState "this.create-bucket.id" }}