-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Module terraform rework (#864)
* Initial work to convert Terraform to true modules * Properly handle outputs from lab Terraform * Better handling of missing environment output * Fix EKS pod identity partition data source * Fix kubectl provider in inferentia Terraform * Fix kubectl provider in crossplane Terraform * Fixed OpenSearch module Terraform
- Loading branch information
1 parent
f87df6a
commit 33eab94
Showing
75 changed files
with
1,266 additions
and
499 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module "lab" { | ||
source = "./lab" | ||
|
||
eks_cluster_id = local.eks_cluster_id | ||
eks_cluster_version = local.eks_cluster_version | ||
cluster_security_group_id = local.cluster_security_group_id | ||
addon_context = local.addon_context | ||
tags = local.tags | ||
resources_precreated = var.resources_precreated | ||
} |
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,23 @@ | ||
variable "eks_cluster_id" { | ||
type = string | ||
} | ||
|
||
variable "eks_cluster_version" { | ||
type = string | ||
} | ||
|
||
variable "cluster_security_group_id" { | ||
type = any | ||
} | ||
|
||
variable "addon_context" { | ||
type = any | ||
} | ||
|
||
variable "tags" { | ||
type = any | ||
} | ||
|
||
variable "resources_precreated" { | ||
type = bool | ||
} |
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,3 @@ | ||
output "environment" { | ||
value = try(module.lab.environment, "") | ||
} |
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
23 changes: 23 additions & 0 deletions
23
manifests/modules/aiml/inferentia/.workshop/terraform/vars.tf
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,23 @@ | ||
variable "eks_cluster_id" { | ||
type = string | ||
} | ||
|
||
variable "eks_cluster_version" { | ||
type = string | ||
} | ||
|
||
variable "cluster_security_group_id" { | ||
type = any | ||
} | ||
|
||
variable "addon_context" { | ||
type = any | ||
} | ||
|
||
variable "tags" { | ||
type = any | ||
} | ||
|
||
variable "resources_precreated" { | ||
type = bool | ||
} |
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
23 changes: 23 additions & 0 deletions
23
manifests/modules/automation/controlplanes/ack/.workshop/terraform/vars.tf
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,23 @@ | ||
variable "eks_cluster_id" { | ||
type = string | ||
} | ||
|
||
variable "eks_cluster_version" { | ||
type = string | ||
} | ||
|
||
variable "cluster_security_group_id" { | ||
type = any | ||
} | ||
|
||
variable "addon_context" { | ||
type = any | ||
} | ||
|
||
variable "tags" { | ||
type = any | ||
} | ||
|
||
variable "resources_precreated" { | ||
type = bool | ||
} |
Oops, something went wrong.