-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(anthos-multi-cloud): general fixups (#731)
- Loading branch information
Showing
45 changed files
with
764 additions
and
109 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> | ||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
|------|-------------|------|---------|:--------:| | ||
| admin\_users | admin users | `list(string)` | n/a | yes | | ||
| anthos\_prefix | anthos prefix | `string` | n/a | yes | | ||
| aws\_region | aws region | `string` | n/a | yes | | ||
| cluster\_version | cluster version | `string` | n/a | yes | | ||
| control\_plane\_config\_encryption\_kms\_key\_arn | control plane config encryption kms key arn | `string` | n/a | yes | | ||
| control\_plane\_iam\_instance\_profile | control plane iam instance profile | `string` | n/a | yes | | ||
| control\_plane\_instance\_type | control plane instance type | `string` | n/a | yes | | ||
| control\_plane\_main\_volume\_encryption\_kms\_key\_arn | control plane main volume encryption kms key arn | `string` | n/a | yes | | ||
| control\_plane\_root\_volume\_encryption\_kms\_key\_arn | control plane root volume encryption kme key arn | `string` | n/a | yes | | ||
| database\_encryption\_kms\_key\_arn | database encruption kms key arn | `string` | n/a | yes | | ||
| fleet\_project | flet project | `string` | n/a | yes | | ||
| location | GCP location | `string` | n/a | yes | | ||
| node\_pool\_config\_encryption\_kms\_key\_arn | node pool config encruyption kms key arn | `string` | n/a | yes | | ||
| node\_pool\_iam\_instance\_profile | node pool iam instance profile | `string` | n/a | yes | | ||
| node\_pool\_instance\_type | node pool instance type | `string` | n/a | yes | | ||
| node\_pool\_root\_volume\_encryption\_kms\_key\_arn | node pool root volume encruption kms key arn | `string` | n/a | yes | | ||
| node\_pool\_subnet\_id | node pool subnet id | `string` | n/a | yes | | ||
| pod\_address\_cidr\_blocks | pod address cider blocks | `list(string)` | <pre>[<br> "10.2.0.0/16"<br>]</pre> | no | | ||
| role\_arn | role arn | `string` | n/a | yes | | ||
| service\_address\_cidr\_blocks | service address cidr blocks | `list(string)` | <pre>[<br> "10.1.0.0/16"<br>]</pre> | no | | ||
| subnet\_ids | subnet ids | `list(string)` | n/a | yes | | ||
| vpc\_id | VPC id | `string` | n/a | yes | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
|------|-------------| | ||
| fleet\_membership | fleet membership | | ||
| project\_number | project number | | ||
|
||
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
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
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,25 @@ | ||
/** | ||
* Copyright 2024 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
terraform { | ||
required_providers { | ||
google = { | ||
source = "hashicorp/google" | ||
version = ">= 5, < 7" | ||
} | ||
} | ||
required_version = ">= 0.13" | ||
} |
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,16 @@ | ||
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> | ||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
|------|-------------|------|---------|:--------:| | ||
| gcp\_location | GCP location | `string` | n/a | yes | | ||
| gcp\_project | GCP project | `string` | n/a | yes | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
|------|-------------| | ||
| latest\_version | google container aws latest version | | ||
| project\_number | project number | | ||
|
||
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
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,25 @@ | ||
/** | ||
* Copyright 2022-2024 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
output "project_number" { | ||
value = data.google_project.project.number | ||
description = "project number" | ||
} | ||
|
||
output "latest_version" { | ||
value = data.google_container_aws_versions.this.valid_versions[0] | ||
description = "google container aws latest version" | ||
} |
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,25 @@ | ||
/** | ||
* Copyright 2024 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
terraform { | ||
required_providers { | ||
google = { | ||
source = "hashicorp/google" | ||
version = ">= 5, < 7" | ||
} | ||
} | ||
required_version = ">= 0.13" | ||
} |
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,21 @@ | ||
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> | ||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
|------|-------------|------|---------|:--------:| | ||
| anthos\_prefix | Prefix to apply to Anthos AWS Policy & Network names | `string` | n/a | yes | | ||
| cp\_config\_kms\_arn | Control Plane Configuration KMS ARN | `string` | n/a | yes | | ||
| cp\_main\_volume\_kms\_arn | Control Plane Main Volume KMS ARN | `string` | n/a | yes | | ||
| db\_kms\_arn | DB KMS ARN | `string` | n/a | yes | | ||
| gcp\_project\_number | GCP project Number of project to host cluster | `string` | n/a | yes | | ||
| np\_config\_kms\_arn | Node Pool Configuration KMS ARN | `string` | n/a | yes | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
|------|-------------| | ||
| api\_role\_arn | ARN of the actuated IAM role resource | | ||
| cp\_instance\_profile\_id | IAM instance profile of controlplane | | ||
| np\_instance\_profile\_id | IAM instance profile of nodepool | | ||
|
||
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
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
Oops, something went wrong.