@@ -58,10 +58,6 @@ func TestAccScalewayVPCPublicGatewayIP_Basic(t *testing.T) {
58
58
` ,
59
59
Check : resource .ComposeTestCheckFunc (
60
60
testAccCheckScalewayVPCPublicGatewayIPExists (tt , "scaleway_vpc_public_gateway_ip.main" ),
61
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "reverse" ),
62
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "address" ),
63
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "created_at" ),
64
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "updated_at" ),
65
61
),
66
62
},
67
63
{
@@ -76,25 +72,6 @@ func TestAccScalewayVPCPublicGatewayIP_Basic(t *testing.T) {
76
72
resource .TestCheckResourceAttr ("scaleway_vpc_public_gateway_ip.main" , "tags.0" , "tag0" ),
77
73
resource .TestCheckResourceAttr ("scaleway_vpc_public_gateway_ip.main" , "tags.1" , "tag1" ),
78
74
resource .TestCheckResourceAttr ("scaleway_vpc_public_gateway_ip.main" , "reverse" , "example.com" ),
79
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "address" ),
80
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "created_at" ),
81
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "updated_at" ),
82
- ),
83
- },
84
- {
85
- Config : `
86
- resource scaleway_vpc_public_gateway_ip main {
87
- tags = ["tag2", "tag3"]
88
- }
89
- ` ,
90
- Check : resource .ComposeTestCheckFunc (
91
- testAccCheckScalewayVPCPublicGatewayIPExists (tt , "scaleway_vpc_public_gateway_ip.main" ),
92
- resource .TestCheckResourceAttr ("scaleway_vpc_public_gateway_ip.main" , "tags.0" , "tag2" ),
93
- resource .TestCheckResourceAttr ("scaleway_vpc_public_gateway_ip.main" , "tags.1" , "tag3" ),
94
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "reverse" ),
95
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "address" ),
96
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "created_at" ),
97
- resource .TestCheckResourceAttrSet ("scaleway_vpc_public_gateway_ip.main" , "updated_at" ),
98
75
),
99
76
},
100
77
},
0 commit comments