Forked from CalvinHartwell/terraform-stc-bluvalt-openstack-example-vm-provision.yaml
Created
September 16, 2021 13:47
-
-
Save icy/ed45deb06184b4d75f99c3802e9ca730 to your computer and use it in GitHub Desktop.
terraform-stc-bluvalt-openstack-example-vm-provision
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
provider "openstack" { | |
user_name = "calvinh" | |
tenant_name = "canonical_30039" | |
tenant_id = "6a74f3b9a17847588d9fdee581cbb01a" | |
password = <password> | |
auth_url = "https://api-jed1-vdc.bluvalt.com/identity/v3" | |
region = "RegionOne" | |
user_domain_name ="jed1" | |
project_domain_name = "jed1" | |
} | |
# Create a web server | |
resource "openstack_compute_instance_v2" "test-server" { | |
name = "tf_test_instance" | |
image_name = "Ubuntu-18.04-LTS" | |
flavor_name = "R1-Network-2" | |
key_pair = "calvinh-ws" | |
security_groups = ["public"] | |
network { | |
uuid = "e637f311-cef0-4eb4-b42d-7d9c3a2b1141" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment