-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove non-prod schedule variables #2
Conversation
Removed conditional logic for non-prod scheduling and related variables to streamline environment management. All schedules now use uniform variables regardless of environment, reducing complexity and potential errors.
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.
I agree that we need to take the references to local.env
out of the module, however we also need to record these variations between prod and nonprod environments so that appropriate configurations and / or conditionals can be included in the code which calls the module.
I'd suggest starting an examples folder - which is in any case required to be compliant with the Terraform registry - and include two examples, one the default which I'd suggest should be nonprod and then another example passing in the variables for prod.
The default values should therefore be the nonprod ones, as that's more straightforward for people to start with.
Added HashiCorp providers (aws, archive, null, random) configurations to nonprod, prod, and organizations terraform files. Updated module configurations for domain_protect with scan and update schedules. Set IAM role for domain_protect in organizations example and changed default value of takeover variable to false.
Signed-off-by: nitrocode <[email protected]>
9cd584b
to
f9585e0
Compare
Signed-off-by: nitrocode <[email protected]>
Signed-off-by: nitrocode <[email protected]>
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.
Added some comments (Unsure why I have to submit a review to add comments now)
Signed-off-by: nitrocode <[email protected]>
First MR switching multi-env schedule logic and variables into a single environment/variable.