Created
February 14, 2022 13:34
openstack terraform 프로바이더
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
# COMMON OPENSTACK ENVS | |
export OS_INTERFACE=public | |
export OS_IDENTITY_API_VERSION=3 | |
export OS_COMPUTE_API_VERSION=2.26 | |
export OS_NO_CACHE=1 | |
export OS_AUTH_URL=https://identity.openstack.com/v3 | |
export OS_AUTH_VERSION=3 | |
export OS_AUTH_TYPE=v3applicationcredential | |
export OS_APPLICATION_CREDENTIAL_ID=AAAAAAAAAA | |
export OS_APPLICATION_CREDENTIAL_SECRET=BBBBBBBBBB |
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_version = ">= 0.14.0" # Takes into account Terraform versions from 0.14.0 | |
required_providers { | |
openstack = { | |
source = "terraform-provider-openstack/openstack" | |
version = "~> 1.43.0" | |
} | |
} | |
} | |
provider "openstack" { | |
auth_url = "https://identity.openstack.com/v3" | |
} | |
resource "openstack_compute_instance_v2" "test-server" { | |
# ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment