make good use of ForceNew in consul_agent_service

This commit is contained in:
Max Englander 2015-10-29 11:39:27 -04:00
parent da70103a05
commit 5f5fd7c6e6
1 changed files with 4 additions and 0 deletions

View File

@ -19,12 +19,14 @@ func resourceConsulAgentService() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
},
"id": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
},
"name": &schema.Schema{
@ -35,12 +37,14 @@ func resourceConsulAgentService() *schema.Resource {
"port": &schema.Schema{
Type: schema.TypeInt,
Optional: true,
ForceNew: true,
},
"tags": &schema.Schema{
Type: schema.TypeList,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeString},
ForceNew: true,
},
},
}