-
Notifications
You must be signed in to change notification settings - Fork 0
Updates code to terraform 12 and tflinting standards #3
Conversation
garybaines
commented
Jul 14, 2021
- Updates code to terraform 12 and tflinting standards
- Adds a minimal terraform version file to the module
- Updates python script to conform to pylint standards
- Adds a CODEOWNERS file for PR approvals set to cloud-engineering
zip_file/versions.tf
Outdated
|
||
required_providers { | ||
aws = { | ||
#source = "hashicorp/aws" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes and no. From terraform 13 onwards the commented out line is required to pass tflinting, but it's not compatible with terraform 12, so it's commented out for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So should we create a version compatible with tf12 without the line, and then a further update for tf13 with the line in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is the option. Go on then, I've pushed it without the comment ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be good to update the readme with details about using the module, including the syntax for using a specific version of it
Adds a minimal terraform version file to the module Updates python script to conform to pylint standards Adds a CODEOWNERS file for PR approvals
41682fc
to
a68776e
Compare
README updated with usage details |