Skip to content

Commit

Permalink
Update operator.mdx to operator.md (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
mclacore authored Sep 12, 2024
1 parent 0210d2b commit ad8dbda
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 43 deletions.
44 changes: 1 addition & 43 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Form input parameters for configuring a bundle for deployment.
"arn:aws:ec2::ACCOUNT_NUMBER:vpc/vpc-foo"
```

- **`version`** *(string)*: Must be one of: `['11.9', '11.12', '11.13', '11.14', '11.15', '11.16', '11.17', '11.18', '12.7', '12.8', '12.9', '12.10', '12.11', '12.12', '12.13', '13.3', '13.4', '13.5', '13.6', '13.7', '13.8', '13.9', '14.3', '14.4', '14.5', '14.6']`. Default: `14.6`.
- **`version`** *(string)*: Must be one of: `['11.9', '11.21', '12.9', '12.11', '12.12', '12.13', '12.14', '12.15', '12.16', '12.17', '12.18', '13.7', '13.8', '13.9', '13.10', '13.11', '13.12', '13.13', '13.14', '14.3', '14.4', '14.5', '14.6', '14.7', '14.8', '14.9', '14.10', '14.11', '15.2', '15.3', '15.4', '15.5', '15.6', '16.1', '16.2']`. Default: `16.2`.
- **`networking`** *(object)*
- **`subnet_type`** *(string)*: Deploy to internal subnets (cannot reach the internet) or private subnets (internet egress traffic allowed). Must be one of: `['internal', 'private']`. Default: `internal`.
- **`observability`** *(object)*
Expand Down Expand Up @@ -245,20 +245,6 @@ Connections from other bundles that this bundle depends on.
"arn:aws:ec2::ACCOUNT_NUMBER:vpc/vpc-foo"
```

- **`aws_zone`** *(string)*: AWS Availability Zone.

Examples:
- **`cidr`** *(string)*

Examples:
```json
"10.100.0.0/16"
```

```json
"192.24.12.0/22"
```


Examples:
- **`private_subnets`** *(array)*
Expand All @@ -274,20 +260,6 @@ Connections from other bundles that this bundle depends on.
"arn:aws:ec2::ACCOUNT_NUMBER:vpc/vpc-foo"
```

- **`aws_zone`** *(string)*: AWS Availability Zone.

Examples:
- **`cidr`** *(string)*

Examples:
```json
"10.100.0.0/16"
```

```json
"192.24.12.0/22"
```


Examples:
- **`public_subnets`** *(array)*
Expand All @@ -303,20 +275,6 @@ Connections from other bundles that this bundle depends on.
"arn:aws:ec2::ACCOUNT_NUMBER:vpc/vpc-foo"
```

- **`aws_zone`** *(string)*: AWS Availability Zone.

Examples:
- **`cidr`** *(string)*

Examples:
```json
"10.100.0.0/16"
```

```json
"192.24.12.0/22"
```


Examples:
- **`specs`** *(object)*
Expand Down
102 changes: 102 additions & 0 deletions kms/_massdriver_variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
// Auto-generated variable declarations from massdriver.yaml
variable "availability" {
type = object({
autoscaling_mode = string
min_replicas = number
max_replicas = optional(number)
scale_in_cooldown = optional(number)
scale_out_cooldown = optional(number)
target_value = optional(number)
})
}
variable "aws_authentication" {
type = object({
data = object({
arn = string
external_id = optional(string)
})
specs = object({
aws = optional(object({
region = optional(string)
}))
})
})
}
variable "backup" {
type = object({
retention_period = number
skip_final_snapshot = bool
})
}
variable "database" {
type = object({
ca_cert_identifier = string
deletion_protection = bool
source_snapshot = optional(string)
version = string
instance_class = any
})
}
variable "md_metadata" {
type = object({
default_tags = object({
managed-by = string
md-manifest = string
md-package = string
md-project = string
md-target = string
})
deployment = object({
id = string
})
name_prefix = string
observability = object({
alarm_webhook_url = string
})
package = object({
created_at = string
deployment_enqueued_at = string
previous_status = string
updated_at = string
})
target = object({
contact_email = string
})
})
}
variable "networking" {
type = object({
subnet_type = optional(string)
})
}
variable "observability" {
type = object({
enable_cloudwatch_logs_export = bool
enhanced_monitoring_interval = number
performance_insights_retention_period = number
})
}
variable "vpc" {
type = object({
data = object({
infrastructure = object({
arn = string
cidr = string
internal_subnets = list(object({
arn = string
}))
private_subnets = list(object({
arn = string
}))
public_subnets = list(object({
arn = string
}))
})
})
specs = optional(object({
aws = optional(object({
region = optional(string)
}))
}))
})
}
102 changes: 102 additions & 0 deletions src/_massdriver_variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
// Auto-generated variable declarations from massdriver.yaml
variable "availability" {
type = object({
autoscaling_mode = string
min_replicas = number
max_replicas = optional(number)
scale_in_cooldown = optional(number)
scale_out_cooldown = optional(number)
target_value = optional(number)
})
}
variable "aws_authentication" {
type = object({
data = object({
arn = string
external_id = optional(string)
})
specs = object({
aws = optional(object({
region = optional(string)
}))
})
})
}
variable "backup" {
type = object({
retention_period = number
skip_final_snapshot = bool
})
}
variable "database" {
type = object({
ca_cert_identifier = string
deletion_protection = bool
source_snapshot = optional(string)
version = string
instance_class = any
})
}
variable "md_metadata" {
type = object({
default_tags = object({
managed-by = string
md-manifest = string
md-package = string
md-project = string
md-target = string
})
deployment = object({
id = string
})
name_prefix = string
observability = object({
alarm_webhook_url = string
})
package = object({
created_at = string
deployment_enqueued_at = string
previous_status = string
updated_at = string
})
target = object({
contact_email = string
})
})
}
variable "networking" {
type = object({
subnet_type = optional(string)
})
}
variable "observability" {
type = object({
enable_cloudwatch_logs_export = bool
enhanced_monitoring_interval = number
performance_insights_retention_period = number
})
}
variable "vpc" {
type = object({
data = object({
infrastructure = object({
arn = string
cidr = string
internal_subnets = list(object({
arn = string
}))
private_subnets = list(object({
arn = string
}))
public_subnets = list(object({
arn = string
}))
})
})
specs = optional(object({
aws = optional(object({
region = optional(string)
}))
}))
})
}

0 comments on commit ad8dbda

Please sign in to comment.