Skip to content

Commit 0c53f14

Browse files
fix: variables documentation, codeowners, and issue templates (#85)
* Update the variables.tf file to properly call out `common_prefix` - this was mentioned in the descriptions of multiple variables as `general_prefix` which was incorrect. * Update the CODEOWNERS file to include the `anyscale/public-terraform-owners` team. * Update the issue templates to include the `anyscale/public-terraform-owners` team. On branch brent/gh-codeowner Changes to be committed: modified: .github/CODEOWNERS modified: .github/ISSUE_TEMPLATE/bug-report.yml modified: .github/ISSUE_TEMPLATE/feature-request.yml modified: .github/ISSUE_TEMPLATE/security-issue.yml modified: variables.tf
1 parent 9a016b2 commit 0c53f14

File tree

5 files changed

+45
-41
lines changed

5 files changed

+45
-41
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
# Order is important: the last matching pattern has the highest precedence
66

77
# These owners will be the default owners for everything
8+
* @anyscale/public-terraform-owners
89
* @anyscale/fieldteam

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Bug Report
22
description: Issue/Bug with the Terraform Modules. Please include repro steps!
33
title: "[bug]: "
44
labels: ["bug", "P1", "terraform-modules"]
5-
assignees: ["brent-anyscale"]
5+
assignees: ["anyscale/public-terraform-owners"]
66

77
body:
88
- type: markdown
@@ -40,14 +40,10 @@ body:
4040
- label: aws-anyscale-s3-policy
4141
- label: aws-anyscale-securitygroups
4242
- label: aws-anyscale-vpc
43-
- type: dropdown
43+
- type: textarea
4444
attributes:
4545
label: Anyscale Terraform Module version
4646
description: What version of the modules are you using?
47-
multiple: false
48-
options:
49-
- v0.2.x (Default)
50-
- v0.1.x
5147
validations:
5248
required: true
5349
- type: dropdown
@@ -56,7 +52,14 @@ body:
5652
description: What version of Terraform are you using?
5753
multiple: false
5854
options:
59-
- 1.3.x (Default)
55+
- 1.10.x
56+
- 1.9.x (Default)
57+
- 1.8.x
58+
- 1.7.x
59+
- 1.6.x
60+
- 1.5.x
61+
- 1.4.x
62+
- 1.3.x
6063
- 1.2.x
6164
- 1.1.x
6265
- 1.0.x

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Feature Request
22
description: Feature request for the Terraform Modules.
33
title: "[Feature]: "
44
labels: ["feature", "P1", "terraform-modules"]
5-
assignees: ["brent-anyscale"]
5+
assignees: ["anyscale/public-terraform-owners"]
66

77
body:
88
- type: markdown

.github/ISSUE_TEMPLATE/security-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Security Issue
22
description: General security issue
33
title: '[Security]: '
44
labels: ["security", "P0", "terraform-modules"]
5-
assignees: ["brent-anyscale"]
5+
assignees: ["anyscale/public-terraform-owners"]
66

77
body:
88
- type: markdown

variables.tf

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ variable "anyscale_iam_access_role_name" {
439439
description = <<-EOT
440440
(Optional, forces creation of new resource) The name of the Anyscale IAM access role.
441441
442-
If left `null`, the name will default to `anyscale_iam_access_role_name_prefix` or `general_prefix`.
442+
If left `null`, the name will default to `anyscale_iam_access_role_name_prefix` or `common_prefix`.
443443
If provided, overrides the `anyscale_iam_access_role_name_prefix` variable.
444444
445445
ex:
@@ -456,7 +456,7 @@ variable "anyscale_iam_access_role_name_prefix" {
456456
(Optional, forces creation of new resource) The prefix for the Anyscale IAM access role.
457457
458458
If `anyscale_iam_access_role_name_prefix` is provided, it will override this variable.
459-
The variable `general_prefix` is a fall-back prefix if this is not provided.
459+
The variable `common_prefix` is a fall-back prefix if this is not provided.
460460
461461
Default is `null` but is set to `anyscale-iam-role-` in a local variable.
462462
@@ -500,7 +500,7 @@ variable "anyscale_access_steadystate_policy_name" {
500500
description = <<-EOT
501501
(Optional) Name for the Anyscale default steady state IAM policy.
502502
503-
If left `null`, will default to `anyscale_access_steadystate_policy_prefix` or `general_prefix`.
503+
If left `null`, will default to `anyscale_access_steadystate_policy_prefix` or `common_prefix`.
504504
If provided, overrides the `anyscale_access_steadystate_policy_prefix` variable.
505505
506506
ex:
@@ -517,7 +517,7 @@ variable "anyscale_access_steadystate_policy_prefix" {
517517
(Optional) Name prefix for the Anyscale default steady state IAM policy.
518518
519519
If `anyscale_access_steadystate_policy_name` is provided, it will override this variable.
520-
The variable `general_prefix` is a fall-back prefix if this is not provided.
520+
The variable `common_prefix` is a fall-back prefix if this is not provided.
521521
Default is `null` but is set to `anyscale-steady_state-` in a local variable.
522522
523523
ex:
@@ -546,7 +546,7 @@ variable "anyscale_access_servicesv2_policy_name" {
546546
description = <<-EOT
547547
(Optional) Name for the Anyscale default servicesv2 IAM policy.
548548
549-
If left `null`, will default to `anyscale_access_servicesv2_policy_prefix` or `general_prefix`.
549+
If left `null`, will default to `anyscale_access_servicesv2_policy_prefix` or `common_prefix`.
550550
If provided, overrides the `anyscale_access_servicesv2_policy_prefix` variable.
551551
552552
ex:
@@ -563,7 +563,7 @@ variable "anyscale_access_servicesv2_policy_prefix" {
563563
(Optional) Name prefix for the Anyscale default servicesv2 IAM policy.
564564
565565
If `anyscale_access_servicesv2_policy_name` is provided, it will override this variable.
566-
The variable `general_prefix` is a fall-back prefix if this is not provided.
566+
The variable `common_prefix` is a fall-back prefix if this is not provided.
567567
Default is `null` but is set to `anyscale-servicesv2-` in a local variable.
568568
569569
ex:
@@ -606,7 +606,7 @@ variable "anyscale_accessrole_custom_policy_name" {
606606
description = <<-EOT
607607
(Optional) Name for an Anyscale custom IAM policy.
608608
609-
If left `null`, will default to `anyscale_custom_policy_name_prefix` or `general_prefix`.
609+
If left `null`, will default to `anyscale_custom_policy_name_prefix` or `common_prefix`.
610610
If provided, overrides the `anyscale_accessrole_custom_policy_name_prefix` variable.
611611
612612
ex:
@@ -622,7 +622,7 @@ variable "anyscale_accessrole_custom_policy_name_prefix" {
622622
description = <<-EOT
623623
(Optional) Name prefix for the Anyscale custom IAM policy.
624624
If `anyscale_accessrole_custom_policy_name` is provided, it will override this variable.
625-
The variable `general_prefix` is a fall-back prefix if this is not provided.
625+
The variable `common_prefix` is a fall-back prefix if this is not provided.
626626
Default is `null` but is set to `anyscale-crossacct-custom-policy-` in a local variable.
627627
628628
ex:
@@ -681,7 +681,7 @@ variable "anyscale_iam_cluster_node_role_name" {
681681
description = <<-EOT
682682
(Optional, forces creation of new resource) The name of the Anyscale IAM cluster node role.
683683
684-
If left `null`, will default to `anyscale_iam_access_role_name_prefix` or `general_prefix`.
684+
If left `null`, will default to `anyscale_iam_access_role_name_prefix` or `common_prefix`.
685685
If provided, overrides the `anyscale_iam_cluster_node_role_name_prefix` variable.
686686
687687
ex:
@@ -697,7 +697,7 @@ variable "anyscale_iam_cluster_node_role_name_prefix" {
697697
(Optional, forces creation of new resource) The prefix of the Anyscale Cluster Node IAM role.
698698
699699
If `anyscale_iam_cluster_node_role_name` is provided, it will override this variable.
700-
The variable `general_prefix` is a fall-back prefix if this is not provided.
700+
The variable `common_prefix` is a fall-back prefix if this is not provided.
701701
Default is `null` but is set to `anyscale-cluster-node-` in a local variable.
702702
703703
ex:
@@ -728,7 +728,7 @@ variable "anyscale_cluster_node_custom_policy_name" {
728728
description = <<-EOT
729729
(Optional) Name for the Anyscale cluster node custom IAM policy.
730730
731-
If left `null`, will default to `anyscale_cluster_node_custom_policy_prefix` or `general_prefix`.
731+
If left `null`, will default to `anyscale_cluster_node_custom_policy_prefix` or `common_prefix`.
732732
If provided, overrides the `anyscale_cluster_node_custom_policy_name_prefix` variable.
733733
734734
ex:
@@ -745,7 +745,7 @@ variable "anyscale_cluster_node_custom_policy_prefix" {
745745
(Optional) Name prefix for the Anyscale cluster node custom IAM policy.
746746
747747
If `anyscale_cluster_node_custom_policy_name` is provided, it will override this variable.
748-
The variable `general_prefix` is a fall-back prefix if this is not provided.
748+
The variable `common_prefix` is a fall-back prefix if this is not provided.
749749
Default is `null` but is set to `anyscale-clusternode-custom-policy-` in a local variable.
750750
751751
ex:
@@ -849,7 +849,7 @@ variable "anyscale_cluster_node_cloudwatch_policy_name" {
849849
description = <<-EOT
850850
(Optional) Name for the Anyscale cluster node CloudWatch IAM policy.
851851
852-
If left `null`, will default to `anyscale_cluster_node_cloudwatch_policy_prefix` or `general_prefix`.
852+
If left `null`, will default to `anyscale_cluster_node_cloudwatch_policy_prefix` or `common_prefix`.
853853
If provided, overrides the `anyscale_cluster_node_cloudwatch_policy_name_prefix` variable.
854854
855855
ex:
@@ -866,7 +866,7 @@ variable "anyscale_cluster_node_cloudwatch_policy_prefix" {
866866
(Optional) Name prefix for the Anyscale cluster node CloudWatch IAM policy.
867867
868868
If `anyscale_cluster_node_cloudwatch_policy_name` is provided, it will override this variable.
869-
The variable `general_prefix` is a fall-back prefix if this is not provided.
869+
The variable `common_prefix` is a fall-back prefix if this is not provided.
870870
Default is `null` but is set to `anyscale-cluster-node-cloudwatch-policy-` in a local variable.
871871
872872
ex:
@@ -883,7 +883,7 @@ variable "anyscale_cluster_node_byod_secrets_policy_name" {
883883
description = <<-EOT
884884
(Optional) Name for the Anyscale cluster node Secrets IAM policy.
885885
886-
If left `null`, will default to `anyscale_cluster_node_secrets_policy_prefix` or `general_prefix`.
886+
If left `null`, will default to `anyscale_cluster_node_secrets_policy_prefix` or `common_prefix`.
887887
If provided, overrides the `anyscale_cluster_node_secrets_policy_prefix` variable.
888888
889889
ex:
@@ -900,7 +900,7 @@ variable "anyscale_cluster_node_byod_secrets_policy_prefix" {
900900
(Optional) Name prefix for the Anyscale cluster node Secrets IAM policy.
901901
902902
If `anyscale_cluster_node_secrets_policy_name` is provided, it will override this variable.
903-
The variable `general_prefix` is a fall-back prefix if this is not provided.
903+
The variable `common_prefix` is a fall-back prefix if this is not provided.
904904
Default is `null` but is set to `anyscale-cluster-node-secrets-` in a local variable.
905905
906906
ex:
@@ -1018,7 +1018,7 @@ variable "anyscale_iam_s3_policy_name" {
10181018
description = <<-EOT
10191019
(Optional) Name for the Anyscale S3 access IAM policy.
10201020
1021-
If left `null`, will default to `anyscale_iam_s3_policy_name_prefix` or `general_prefix`.
1021+
If left `null`, will default to `anyscale_iam_s3_policy_name_prefix` or `common_prefix`.
10221022
If provided, overrides the `anyscale_iam_s3_policy_name_prefix` variable.
10231023
10241024
ex:
@@ -1034,7 +1034,7 @@ variable "anyscale_iam_s3_policy_name_prefix" {
10341034
(Optional) Name prefix for the Anyscale S3 access IAM policy.
10351035
10361036
If `anyscale_iam_s3_policy_name` is provided, it will override this variable.
1037-
The variable `general_prefix` is a fall-back prefix if this is not provided.
1037+
The variable `common_prefix` is a fall-back prefix if this is not provided.
10381038
Default is `null` but is set to `anyscale-iam-s3-` in a local variable.
10391039
10401040
ex:
@@ -1083,7 +1083,7 @@ variable "security_group_name" {
10831083
description = <<-EOT
10841084
(Optional) The name for the security group.
10851085
1086-
If left `null`, will default to `security_group_name_prefix` or `general_prefix`.
1086+
If left `null`, will default to `security_group_name_prefix` or `common_prefix`.
10871087
If provided, overrides `security_group_name_prefix`.
10881088
10891089
ex:
@@ -1100,7 +1100,7 @@ variable "security_group_name_prefix" {
11001100
(Optional) The name prefix for the security group.
11011101
11021102
If `security_group_name` is provided, it will override this variable.
1103-
The variable `general_prefix` is a fall-back prefix if this is not provided.
1103+
The variable `common_prefix` is a fall-back prefix if this is not provided.
11041104
Default is `null` but is set to `anyscale-security-group-` in a local variable.
11051105
11061106
ex:
@@ -1224,7 +1224,7 @@ variable "anyscale_machine_pool_security_group_name" {
12241224
description = <<-EOT
12251225
(Optional) Name for the machine pool security group.
12261226
1227-
If left `null`, will default to `anyscale_machine_pool_security_group_name_prefix` or `general_prefix`.
1227+
If left `null`, will default to `anyscale_machine_pool_security_group_name_prefix` or `common_prefix`.
12281228
If provided, overrides the `anyscale_machine_pool_security_group_name_prefix` variable.
12291229
12301230
ex:
@@ -1241,7 +1241,7 @@ variable "anyscale_machine_pool_security_group_name_prefix" {
12411241
(Optional) Name prefix for the machine pool security group.
12421242
12431243
If `anyscale_machine_pool_security_group_name` is provided, it will override this variable.
1244-
The variable `general_prefix` is a fall-back prefix if this is not provided.
1244+
The variable `common_prefix` is a fall-back prefix if this is not provided.
12451245
Default is `null` but is set to `anyscale-machine-pool-sg-` in a local variable.
12461246
12471247
ex:
@@ -1432,7 +1432,7 @@ variable "anyscale_s3_bucket_name" {
14321432
(Optional - forces new resource) S3 Bucket Name.
14331433
14341434
The name of the bucket used to store Anyscale related logs and other shared resources.
1435-
If left `null`, will default to `anyscale_s3_bucket_prefix` or `general_prefix`.
1435+
If left `null`, will default to `anyscale_s3_bucket_prefix` or `common_prefix`.
14361436
If provided, overrides the `anyscale_s3_bucket_prefix` variable.
14371437
14381438
ex:
@@ -1450,7 +1450,7 @@ variable "anyscale_s3_bucket_prefix" {
14501450
14511451
Creates a unique bucket name beginning with the specified prefix.
14521452
If `anyscale_s3_bucket_name` is provided, it will override this variable.
1453-
The variable `general_prefix` is a fall-back prefix if this is not provided.
1453+
The variable `common_prefix` is a fall-back prefix if this is not provided.
14541454
Default is `null` but is set to `anyscale-` in a local variable.
14551455
14561456
ex:
@@ -1655,7 +1655,7 @@ variable "anyscale_memorydb_cluster_name" {
16551655
description = <<-EOT
16561656
(Optional) The name of the MemoryDB cluster.
16571657
1658-
If left `null`, will default to `anyscale_memorydb_cluster_name` or `general_prefix`.
1658+
If left `null`, will default to `anyscale_memorydb_cluster_name` or `common_prefix`.
16591659
If provided, overrides the `anyscale_memorydb_cluster_name` variable.
16601660
16611661
ex:
@@ -1672,7 +1672,7 @@ variable "anyscale_memorydb_cluster_name_prefix" {
16721672
(Optional) The prefix of the MemoryDB cluster.
16731673
16741674
If `anyscale_memorydb_cluster_name` is provided, it will override this variable.
1675-
The variable `general_prefix` is a fall-back prefix if this is not provided.
1675+
The variable `common_prefix` is a fall-back prefix if this is not provided.
16761676
Default is `null` but is set to `anyscale-memorydb-cluster-` in a local variable.
16771677
16781678
ex:
@@ -1701,7 +1701,7 @@ variable "anyscale_memorydb_parameter_group_name" {
17011701
description = <<-EOT
17021702
(Optional) The name of the MemoryDB parameter group.
17031703
1704-
If left `null`, will default to `anyscale_memorydb_parameter_group_name_prefix` or `general_prefix`.
1704+
If left `null`, will default to `anyscale_memorydb_parameter_group_name_prefix` or `common_prefix`.
17051705
If provided, overrides the `anyscale_memorydb_parameter_group_name_prefix` variable.
17061706
17071707
ex:
@@ -1718,7 +1718,7 @@ variable "anyscale_memorydb_parameter_group_name_prefix" {
17181718
(Optional) The prefix of the MemoryDB parameter group.
17191719
17201720
If `anyscale_memorydb_parameter_group_name` is provided, it will override this variable.
1721-
The variable `general_prefix` is a fall-back prefix if this is not provided.
1721+
The variable `common_prefix` is a fall-back prefix if this is not provided.
17221722
Default is `null` but is set to `anyscale-memorydb-parameter-group-` in a local variable.
17231723
17241724
ex:
@@ -1747,7 +1747,7 @@ variable "anyscale_memorydb_subnet_group_name" {
17471747
description = <<-EOT
17481748
(Optional) The name of the MemoryDB subnet group.
17491749
1750-
If left `null`, will default to `anyscale_memorydb_subnet_group_name_prefix` or `general_prefix`.
1750+
If left `null`, will default to `anyscale_memorydb_subnet_group_name_prefix` or `common_prefix`.
17511751
If provided, overrides the `memorydb_subnet_group_name_prefix` variable.
17521752
17531753
ex:
@@ -1764,7 +1764,7 @@ variable "anyscale_memorydb_subnet_group_name_prefix" {
17641764
(Optional) The prefix of the MemoryDB subnet group.
17651765
17661766
If `anyscale_memorydb_subnet_group_name` is provided, it will override this variable.
1767-
The variable `general_prefix` is a fall-back prefix if this is not provided.
1767+
The variable `common_prefix` is a fall-back prefix if this is not provided.
17681768
Default is `null` but is set to `memorydb-subnet-group-` in a local variable.
17691769
17701770
ex:
@@ -1793,7 +1793,7 @@ variable "anyscale_memorydb_acl_name" {
17931793
description = <<-EOT
17941794
(Optional) The name of the MemoryDB ACL.
17951795
1796-
If left `null`, will default to `anyscale_memorydb_acl_name_prefix` or `general_prefix`.
1796+
If left `null`, will default to `anyscale_memorydb_acl_name_prefix` or `common_prefix`.
17971797
If provided, overrides the `anyscale_memorydb_acl_name_prefix` variable.
17981798
17991799
ex:
@@ -1810,7 +1810,7 @@ variable "anyscale_memorydb_acl_name_prefix" {
18101810
(Optional) The prefix of the MemoryDB ACL.
18111811
18121812
If `anyscale_memorydb_acl_name` is provided, it will override this variable.
1813-
The variable `general_prefix` is a fall-back prefix if this is not provided.
1813+
The variable `common_prefix` is a fall-back prefix if this is not provided.
18141814
Default is `null` but is set to `memorydb-acl-` in a local variable.
18151815
18161816
ex:

0 commit comments

Comments
 (0)