Skip to content

Commit 9e3d16a

Browse files
authored
chore: expose enable_fleet_feature in ACM example (#1648)
1 parent de8fe2a commit 9e3d16a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

examples/simple_zonal_with_acm/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ After applying the Terraform configuration, you can run the following commands t
3939
| Name | Description | Type | Default | Required |
4040
|------|-------------|------|---------|:--------:|
4141
| cluster\_name\_suffix | A suffix to append to the default cluster name | `string` | `""` | no |
42+
| enable\_fleet\_feature | Whether to enable the ACM feature on the fleet. | `bool` | `true` | no |
4243
| project\_id | The project ID to host the cluster in | `string` | n/a | yes |
4344
| region | The region to host the cluster in | `string` | `"us-central1"` | no |
4445
| zone | The zone to host the cluster in | `string` | `"us-central1-a"` | no |

examples/simple_zonal_with_acm/acm.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ module "acm" {
2424
sync_branch = "1.0.0"
2525
policy_dir = "foo-corp"
2626

27+
enable_fleet_feature = var.enable_fleet_feature
28+
2729
secret_type = "ssh"
2830

2931
policy_bundles = ["https://github.com/GoogleCloudPlatform/acm-policy-controller-library/bundles/policy-essentials-v2022#e4094aacb91a35b0219f6f4cf6a31580e85b3c28"]

examples/simple_zonal_with_acm/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ variable "zone" {
3636
description = "The zone to host the cluster in"
3737
default = "us-central1-a"
3838
}
39+
40+
variable "enable_fleet_feature" {
41+
description = "Whether to enable the ACM feature on the fleet."
42+
type = bool
43+
default = true
44+
}

0 commit comments

Comments
 (0)