-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added -lockfile=readonly to terraform init - this cleans up the terraform init output significantly - this required ensuring the handling of the provider lockfile was exact in all cases - Add thorough tests - added google-beta provider test - fixed testconf related to improper google-beta provider config - Removed commented out / empty files - Updated pyproject.toml to reflect post 1.2.0 group config - this minimizes the modules installed with base poetry install - to install dev deps you must `poetry install --with dev` - removed unused dependencies from old plugin package - requests - markupsafe - tenacity - updated tfworker.util.terraform to only include public functions - split all private/helper methods into terraform_helpers.py
- Loading branch information
Showing
23 changed files
with
926 additions
and
794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[settings] | ||
known_third_party = atlassian,boto3,botocore,click,deepdiff,google,hcl2,jinja2,mergedeep,moto,pytest,yaml | ||
known_third_party = atlassian,boto3,botocore,click,deepdiff,google,hcl2,jinja2,mergedeep,moto,pydantic,pytest,yaml | ||
profile = black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ terraform: | |
vars: | ||
region: {{ aws_region }} | ||
|
||
google_beta: | ||
google-beta: | ||
requirements: | ||
version: 3.38.0 | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
def test_google_hcl(basec): | ||
render = basec.providers["google-beta"].hcl() | ||
expected_render = """provider "google-beta" { | ||
region = "us-west-2" | ||
credentials = file("/home/test/test-creds.json") | ||
}""" | ||
|
||
assert render == expected_render |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.