Skip to content

Commit

Permalink
provider added
Browse files Browse the repository at this point in the history
  • Loading branch information
arti-shalb committed Apr 27, 2021
1 parent 4c6b480 commit 9a99745
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions template.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
_p: &provider_aws
- aws:
region: {{ .variables.region }}

name: cdev-tests
kind: InfraTemplate
modules:
Expand All @@ -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" }}
Expand Down

0 comments on commit 9a99745

Please sign in to comment.