Fixing noop differences in aws_route.
This commit is contained in:
parent
16f94ed4b7
commit
3f41515d2b
|
@ -40,16 +40,19 @@ func resourceAwsRoute() *schema.Resource {
|
||||||
"gateway_id": &schema.Schema{
|
"gateway_id": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
Computed: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"nat_gateway_id": &schema.Schema{
|
"nat_gateway_id": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
Computed: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"instance_id": &schema.Schema{
|
"instance_id": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
Computed: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"instance_owner_id": &schema.Schema{
|
"instance_owner_id": &schema.Schema{
|
||||||
|
@ -60,6 +63,7 @@ func resourceAwsRoute() *schema.Resource {
|
||||||
"network_interface_id": &schema.Schema{
|
"network_interface_id": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
Computed: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"origin": &schema.Schema{
|
"origin": &schema.Schema{
|
||||||
|
|
|
@ -32,7 +32,7 @@ func TestAccAWSRoute_basic(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() {
|
PreCheck: func() {
|
||||||
testAccPreCheck(t)
|
testAccPreCheck(t)
|
||||||
},
|
},
|
||||||
Providers: testAccProviders,
|
Providers: testAccProviders,
|
||||||
|
@ -95,7 +95,7 @@ func TestAccAWSRoute_changeCidr(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() {
|
PreCheck: func() {
|
||||||
testAccPreCheck(t)
|
testAccPreCheck(t)
|
||||||
},
|
},
|
||||||
Providers: testAccProviders,
|
Providers: testAccProviders,
|
||||||
|
@ -133,7 +133,7 @@ func TestAccAWSRoute_noopdiff(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() {
|
PreCheck: func() {
|
||||||
testAccPreCheck(t)
|
testAccPreCheck(t)
|
||||||
},
|
},
|
||||||
Providers: testAccProviders,
|
Providers: testAccProviders,
|
||||||
|
|
Loading…
Reference in New Issue