Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/anyscale-v2-commonname/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ No resources.

| Name | Description |
|------|-------------|
| <a name="output_anyscale_cloud_resource_yaml"></a> [anyscale\_cloud\_resource\_yaml](#output\_anyscale\_cloud\_resource\_yaml) | Anyscale cloud resource YAML configuration for common name example.<br/>This output can be saved to a YAML file and used with `anyscale cloud resource create` command.<br/>The name is auto-generated as vm-aws-${var.common\_prefix}${var.aws\_region} but can be updated in the YAML file if needed. |
| <a name="output_anyscale_register_command"></a> [anyscale\_register\_command](#output\_anyscale\_register\_command) | Anyscale register command.<br/>This output can be used with the Anyscale CLI to register a new Anyscale Cloud.<br/>You will need to replace `<CUSTOMER_DEFINED_NAME>` with a name of your choosing before running the Anyscale CLI command. |
| <a name="output_anyscale_v2_iam_instance_role_arn"></a> [anyscale\_v2\_iam\_instance\_role\_arn](#output\_anyscale\_v2\_iam\_instance\_role\_arn) | Anyscale IAM instance role arn. |
| <a name="output_anyscale_v2_iam_role_arn"></a> [anyscale\_v2\_iam\_role\_arn](#output\_anyscale\_v2\_iam\_role\_arn) | Anyscale IAM access role arn. |
Expand Down
9 changes: 5 additions & 4 deletions examples/anyscale-v2-commonname/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ output "anyscale_register_command" {
output "anyscale_cloud_resource_yaml" {
description = <<-EOF
Anyscale cloud resource YAML configuration for common name example.
This output can be saved to a file and used with `anyscale cloud resource create` command.
The name is auto-generated as vm-aws-$${var.aws_region} but can be updated in the YAML file if needed.
This output can be saved to a YAML file and used with `anyscale cloud resource create` command.
The name is auto-generated as vm-aws-$${var.common_prefix}$${var.aws_region} but can be updated in the YAML file if needed.
EOF
value = <<-EOT
name: vm-aws-${var.aws_region}
value = <<-EOT
name: vm-aws-${var.common_prefix}${var.aws_region}
provider: AWS
compute_stack: VM
region: ${var.aws_region}
Expand All @@ -86,5 +86,6 @@ aws_config:
- ${module.aws_anyscale_v2_common_name.anyscale_security_group_id}
anyscale_iam_role_id: ${module.aws_anyscale_v2_common_name.anyscale_iam_role_arn}
cluster_iam_role_id: ${module.aws_anyscale_v2_common_name.anyscale_iam_role_cluster_node_arn}
external_id: ${module.aws_anyscale_v2_common_name.anyscale_iam_role_external_id}
EOT
}
1 change: 1 addition & 0 deletions examples/anyscale-v2-privatesubnets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ No resources.

| Name | Description |
|------|-------------|
| <a name="output_anyscale_cloud_resource_yaml"></a> [anyscale\_cloud\_resource\_yaml](#output\_anyscale\_cloud\_resource\_yaml) | Anyscale cloud resource YAML configuration for private subnets.<br/>This output can be saved to a YAML file and used with `anyscale cloud resource create` command.<br/>The name is auto-generated as vm-aws-${var.aws\_region} but can be updated in the YAML file if needed. |
| <a name="output_anyscale_register_command"></a> [anyscale\_register\_command](#output\_anyscale\_register\_command) | Anyscale register command. |
| <a name="output_anyscale_v2_efs_id"></a> [anyscale\_v2\_efs\_id](#output\_anyscale\_v2\_efs\_id) | Anyscale Elastic File System ID. |
| <a name="output_anyscale_v2_iam_instance_role_arn"></a> [anyscale\_v2\_iam\_instance\_role\_arn](#output\_anyscale\_v2\_iam\_instance\_role\_arn) | Anyscale IAM instance role arn. |
Expand Down
5 changes: 3 additions & 2 deletions examples/anyscale-v2-privatesubnets/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ output "anyscale_register_command" {
output "anyscale_cloud_resource_yaml" {
description = <<-EOF
Anyscale cloud resource YAML configuration for private subnets.
This output can be saved to a file and used with `anyscale cloud resource create` command.
This output can be saved to a YAML file and used with `anyscale cloud resource create` command.
The name is auto-generated as vm-aws-$${var.aws_region} but can be updated in the YAML file if needed.
EOF
value = <<-EOT
value = <<-EOT
name: vm-aws-${var.aws_region}
provider: AWS
compute_stack: VM
Expand All @@ -90,5 +90,6 @@ aws_config:
anyscale_iam_role_id: ${module.aws_anyscale_v2_private_vpc.anyscale_iam_role_arn}
cluster_iam_role_id: ${module.aws_anyscale_v2_private_vpc.anyscale_iam_role_cluster_node_arn}
memorydb_cluster_name: ${module.aws_anyscale_v2_private_vpc.anyscale_memorydb_cluster_id}
external_id: ${module.aws_anyscale_v2_private_vpc.anyscale_iam_role_external_id}
EOT
}
Loading