59 lines
1.2 KiB
Plaintext
59 lines
1.2 KiB
Plaintext
|
|
variable "foo" {
|
|||
|
|
default = "bar"
|
|||
|
|
description = "bar"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
provider "aws" {
|
|||
|
|
foo = "${openstack_floating_ip.random.value}"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "openstack_floating_ip" "random" {}
|
|||
|
|
|
|||
|
|
resource""aws_security_group" "firewall" {}
|
|||
|
|
|
|||
|
|
resource "aws_instance" "web" {
|
|||
|
|
ami = creat&_b |