Created
January 17, 2023 06:37
-
-
Save tzach/b1927fb3bf6b0b9f0afd5e82ec46dfd7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| terraform { | |
| required_providers { | |
| scylladbcloud = { | |
| source = "registry.terraform.io/scylladb/scylladbcloud" | |
| } | |
| } | |
| } | |
| provider "scylladbcloud" { | |
| token = "your-token" | |
| } | |
| resource "scylladbcloud_cluster" "scylladbcloud" { | |
| name = "tzach-tf-cluster-alternator-v1" | |
| region = "us-east-1" | |
| node_count = 3 | |
| node_type = "t3.micro" | |
| cidr_block = "172.31.0.0/16" | |
| enable_vpc_peering = false | |
| enable_dns = false | |
| user_api_interface = "ALTERNATOR" | |
| } | |
| output "scylladbcloud_cluster_id" { | |
| value = scylladbcloud_cluster.scylladbcloud.id | |
| } | |
| output "scylladbcloud_cluster_datacenter" { | |
| value = scylladbcloud_cluster.scylladbcloud.datacenter | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment