Skip to content

Commit

Permalink
Merge branch 'fix/remove_validate'
Browse files Browse the repository at this point in the history
  • Loading branch information
glennbech committed Nov 14, 2022
2 parents 1fe2851 + ca01a0b commit 48ea95c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: eu-west-1
IMAGE: 244530008913.dkr.ecr.eu-west-1.amazonaws.com/glenn:latest
PREFIX: glennbech3
# TF_LOG: trace
steps:
- uses: actions/checkout@v3
Expand All @@ -50,7 +52,7 @@ jobs:

- name: Terraform Plan
id: plan
run: terraform plan -var="prefix=glennbech" -no-color
run: terraform plan -var="prefix=$PREFIX" -var="image=$IMAGE" -no-color
continue-on-error: true

- name: Terraform Plan Status
Expand All @@ -59,4 +61,4 @@ jobs:

- name: Terraform Apply
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: terraform apply -var="prefix=glennbech" -auto-approve
run: terraform apply -var="prefix=$PREFIX" -var="image=$IMAGE" -auto-approve
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ variable "prefix" {

variable "image" {
type = string
default = "244530008913.dkr.ecr.eu-west-1.amazonaws.com/glenn:latest"

}

0 comments on commit 48ea95c

Please sign in to comment.