config: remove some unused test fixtures
This commit is contained in:
parent
1918f199d8
commit
46d3800a39
|
@ -55,24 +55,3 @@ func TestProviderConfigName(t *testing.T) {
|
|||
t.Fatalf("bad: %s", n)
|
||||
}
|
||||
}
|
||||
|
||||
const resourceGraphValue = `
|
||||
root: root
|
||||
openstack_floating_ip.random
|
||||
aws_security_group.firewall
|
||||
aws_security_group.firewall -> provider.aws
|
||||
aws_instance.web
|
||||
aws_instance.web -> aws_security_group.firewall
|
||||
aws_instance.web -> provider.aws
|
||||
aws_load_balancer.weblb
|
||||
aws_load_balancer.weblb -> aws_instance.web
|
||||
aws_load_balancer.weblb -> provider.aws
|
||||
provider.aws
|
||||
provider.aws -> openstack_floating_ip.random
|
||||
root
|
||||
root -> openstack_floating_ip.random
|
||||
root -> aws_security_group.firewall
|
||||
root -> aws_instance.web
|
||||
root -> aws_load_balancer.weblb
|
||||
root -> provider.aws
|
||||
`
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
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 = "${var.foo}"
|
||||
security_groups = [
|
||||
"foo",
|
||||
"${aws_security_group.firewall.foo}"
|
||||
]
|
||||
}
|
||||
|
||||
resource "aws_load_balancer" "weblb" {
|
||||
members = "${aws_instance.web.id_list}"
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
variable "foo" {
|
||||
default = "bar";
|
||||
description = "bar";
|
||||
}
|
||||
|
||||
provider "aws" {
|
||||
foo = "${aws_security_group.firewall.value}"
|
||||
}
|
||||
|
||||
resource "aws_security_group" "firewall" {}
|
||||
|
||||
resource "aws_instance" "web" {
|
||||
ami = "${var.foo}"
|
||||
security_groups = [
|
||||
"foo",
|
||||
"${aws_security_group.firewall.foo}"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue