diff --git a/infra/Makefile b/infra/Makefile index 91cf620..88636db 100644 --- a/infra/Makefile +++ b/infra/Makefile @@ -21,7 +21,7 @@ clean: rm -rf .terraform rm -rf .tfplan -plan: check-env check-region validate +plan: check-env check-region init validate export "AWS_REGION=$(region)" && \ export "TF_VAR_region=$(region)" && \ terraform plan -out=$(env).tfplan -state="$(terraform-backend-key)" diff --git a/infra/main.tf b/infra/main.tf index fa64fd5..2033dba 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -47,7 +47,7 @@ locals { } module "demo_site_cicd" { - source = "git::https://github.com/ntno/tf-module-static-site-cicd?ref=optional-github-environments" + source = "git::https://github.com/ntno/tf-module-static-site-cicd?ref=0.0.0" artifact_bucket_name = local.artifact_bucket_name github_repo = var.github_repo