Skip to content

Commit

Permalink
[update]
Browse files Browse the repository at this point in the history
  • Loading branch information
alvo254 committed Jun 10, 2024
1 parent 8490dc6 commit 4fbc80f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Set up Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: "1.0.0" # Specify the Terraform version
terraform_version: "1.8.5" # Specify the Terraform version

# - name: Terraform Init and Apply
# run: |
Expand All @@ -90,9 +90,6 @@ jobs:


- name: Apply Terraform
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
terraform init
terraform apply -auto-approve -var="container_image=${{ env.CONTAINER_IMAGE }}"
Expand Down
8 changes: 7 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
variable "container_image" {
type = string
}
}
# variable "access_key" {
# type = string
# }
# variable "secret_key" {
# type = string
# }

0 comments on commit 4fbc80f

Please sign in to comment.