Created
April 4, 2015 11:53
-
-
Save torumakabe/977209064bcfda66d085 to your computer and use it in GitHub Desktop.
Minimum Terraform configuration for OpenStack
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
# Configure the OpenStack Provider | |
provider "openstack" { | |
} | |
# Create a sample server | |
resource "openstack_compute_instance_v2" "sample-server" { | |
name = "tf-sample" | |
image_id = "your_image_id" | |
flavor_id = "your_flavor_id" | |
key_pair = "your_keypair" | |
security_groups = ["your_sg"] | |
floating_ip = "your_fip" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment