Skip to content

Commit

Permalink
Merge pull request #5 from seqsense/consider-module
Browse files Browse the repository at this point in the history
Run "terraform init" before run "terraform providers lock"
  • Loading branch information
kamatama41 authored May 22, 2021
2 parents 1c69caa + 8d8bc3f commit bbdf5b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ do
tfenv install
echo -e 'terraform {\n backend "local" {}\n}' > backend_override.tf
rm -f .terraform.lock.hcl
terraform init
terraform providers lock ${platform_opts}
git add .terraform.lock.hcl
rm -f backend_override.tf
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions test/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module "ec2_module" {
source = "./ec2"
}

0 comments on commit bbdf5b0

Please sign in to comment.