File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,10 @@ def IaC_template_generator(input : IaCTemplateGeneration) -> str:
6868 sensitive values.
6969 - versions.tf:
7070 - Contains the `terraform` and `provider` blocks, specifying required versions.
71+
72+ - If { input .base_config } is a Docker resource, set kreuzwerker/docker as the provider with appropriate version constraints.
73+ - If { input .base_config } is an AWS resource, set hashicorp/aws as the provider with suitable version constraints.
74+
7175 - Structure the `terraform` block as:
7276 terraform {{
7377 required_version = ">= 1.0"
@@ -103,6 +107,9 @@ def IaC_template_generator(input : IaCTemplateGeneration) -> str:
103107 typical configuration values, making it easier to set up and reducing the need for hardcoded values.
104108 - versions.tf:
105109 - Contains the `terraform` and `provider` blocks, specifying required versions.
110+ - If { input .base_config } is a Docker resource, set kreuzwerker/docker as the provider with appropriate version constraints.
111+ - If { input .base_config } is an AWS resource, set hashicorp/aws as the provider with suitable version constraints.
112+
106113 - Structure the `terraform` block as:
107114 terraform {{
108115 required_version = ">= 1.0"
You can’t perform that action at this time.
0 commit comments