-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
147 additions
and
187 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| locals { | ||
| provisioned_product_name = "app-mcm-01" | ||
| project_name = "csvd_morpheus_dev_qa_dev-229685449397" | ||
| creator = "morga471" | ||
| contact_email = "morga471@example.com" | ||
| inc_poc_email = "morga471@example.com" | ||
| fisma_id = "OCIO_CSVD (CEN16.09)" | ||
| power_schedule = "Weekday_Core_Hours_7-7" | ||
| instance_type = "t3.small" | ||
| os_name = "RHEL9" | ||
| requires_backup = "no" | ||
|
|
||
| portfolio_id = "port-pgj3zvoqca7ya" | ||
| product_id = "prod-43foqxjcq5isw" | ||
| } |
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,69 @@ | ||
| variable "path_id" { | ||
| description = "Path identifier of the product. If not provided, will use the latest active artifact" | ||
| type = string | ||
| default = null | ||
| } | ||
|
|
||
| variable "provisioned_product_name" { | ||
| description = "Name of the provisioned product" | ||
| type = string | ||
|
|
||
| validation { | ||
| condition = length(var.provisioned_product_name) > 0 && length(var.provisioned_product_name) <= 128 | ||
| error_message = "provisioned_product_name must be between 1 and 128 characters" | ||
| } | ||
| } | ||
|
|
||
| variable "project_name" { | ||
| description = "Project name (ProjectName parameter)" | ||
| type = string | ||
| default = "" | ||
| } | ||
|
|
||
| variable "creator" { | ||
| description = "Creator's JBID (Creator parameter)" | ||
| type = string | ||
| default = "" | ||
| } | ||
|
|
||
| variable "contact_email" { | ||
| description = "Provisioning user's email (ContactEmail parameter)" | ||
| type = string | ||
| default = "" | ||
| } | ||
|
|
||
| variable "inc_poc_email" { | ||
| description = "Incident POC email (IncPocEmail parameter)" | ||
| type = string | ||
| default = "" | ||
| } | ||
|
|
||
| variable "fisma_id" { | ||
| description = "FISMA ID" | ||
| type = string | ||
| default = "" | ||
| } | ||
|
|
||
| variable "power_schedule" { | ||
| description = "Power schedule" | ||
| type = string | ||
| default = "" | ||
| } | ||
|
|
||
| variable "instance_type" { | ||
| description = "EC2 instance type" | ||
| type = string | ||
| default = "t3.small" | ||
| } | ||
|
|
||
| variable "os_name" { | ||
| description = "Operating system version" | ||
| type = string | ||
| default = "RHEL9" | ||
| } | ||
|
|
||
| variable "requires_backup" { | ||
| description = "Backup requirement" | ||
| type = string | ||
| default = "no" | ||
| } |
This file was deleted.
Oops, something went wrong.
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,59 @@ | ||
| variable "portfolio_id" { | ||
| description = "Portfolio ID. If not provided, will lookup by portfolio_name_pattern" | ||
| type = string | ||
| default = "port-pgj3zvoqca7ya" | ||
| } | ||
|
|
||
| variable "product_id" { | ||
| description = "Product ID. If not provided, will lookup by product_name_pattern" | ||
| type = string | ||
| default = "prod-43foqxjcq5isw" | ||
| } | ||
|
|
||
| variable "timeout" { | ||
| description = "Timeout for provisioned product operations (create/update/delete)" | ||
| type = string | ||
| default = "15m" | ||
| } | ||
|
|
||
| variable "accept_language" { | ||
| description = "Language code for Service Catalog API calls" | ||
| type = string | ||
| default = "en" | ||
|
|
||
| validation { | ||
| condition = contains(["en", "jp", "zh"], var.accept_language) | ||
| error_message = "accept_language must be one of: en, jp, zh" | ||
| } | ||
| } | ||
|
|
||
| variable "ignore_errors" { | ||
| description = "Whether to ignore errors during provisioning" | ||
| type = bool | ||
| default = false | ||
| } | ||
|
|
||
| variable "notification_arns" { | ||
| description = "List of SNS topic ARNs to send provisioning notifications to" | ||
| type = list(string) | ||
| default = [] | ||
| } | ||
|
|
||
| variable "retain_physical_resources" { | ||
| description = "Whether to retain physical resources when deleting the provisioned product" | ||
| type = bool | ||
| default = false | ||
| } | ||
|
|
||
| variable "stack_set_provisioning_preferences" { | ||
| description = "StackSet provisioning preferences to use when provisioning the product" | ||
| type = object({ | ||
| accounts = optional(list(string)) | ||
| failure_tolerance_count = optional(number) | ||
| failure_tolerance_percentage = optional(number) | ||
| max_concurrency_count = optional(number) | ||
| max_concurrency_percentage = optional(number) | ||
| regions = optional(list(string)) | ||
| }) | ||
| default = null | ||
| } |
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 |
|---|---|---|
| @@ -1,22 +1,5 @@ | ||
| variable "tags" { | ||
| description = "Additional tags to apply to resources" | ||
| description = "AWS Tags to apply to appropriate resources (S3, KMS). Do not include safeguard tags here, use the data_safeguard field for such things." | ||
| type = map(string) | ||
| default = {} | ||
| } | ||
|
|
||
| variable "enforced_tags" { | ||
| description = "Tags enforced on all resources" | ||
| type = map(string) | ||
| default = {} | ||
| } | ||
|
|
||
| variable "accept_language" { | ||
| description = "Language code for Service Catalog API calls" | ||
| type = string | ||
| default = "en" | ||
|
|
||
| validation { | ||
| condition = contains(["en", "jp", "zh"], var.accept_language) | ||
| error_message = "accept_language must be one of: en, jp, zh" | ||
| } | ||
| } | ||
| } |