Skip to content
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

Eliminate network hardcoding (related to #1152, #1153, #1154, #1155) #1226

Open
mromascanu123 opened this issue May 9, 2024 · 0 comments
Open

Comments

@mromascanu123
Copy link

mromascanu123 commented May 9, 2024

TL;DR

Remove the hardcoding at different levels of IPs and configuration options and instead take the values from a configuration object (which may come from a simple yaml file, or injected by a script). For 3-n-h-a-s an example code and configuration attached. Actually this example attached code (base_env-main.tf.zip) was tested working in a POC on derived TEF fork and removed hardcoding. The actual configuration object coming from the calling module e.g. envs/development (development-main.tf.zip). An example (working & tested) config file attached . Just a working example showing this is possible and even potentially beneficial in terms of consolidating the configuration and streamlining configuration. Just examples (although working) certainly can be optimized or done in other more intelligent way

Attachments:

base_env-main.tf.zip
development-main.tf.zip
vpc_config.yaml.zip

Terraform Resources

N/A

Detailed design

N/A (see TL;DR*)

Additional information

Related to #1152 #1153 #1154 #1155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants