providers/atlas: force new

This commit is contained in:
Mitchell Hashimoto 2014-12-09 15:07:57 -08:00
parent a8c05acd1d
commit 04eb1885f1
1 changed files with 6 additions and 0 deletions

View File

@ -26,26 +26,31 @@ func resourceArtifact() *schema.Resource {
"name": &schema.Schema{
Type: schema.TypeString,
Required: true,
ForceNew: true,
},
"type": &schema.Schema{
Type: schema.TypeString,
Required: true,
ForceNew: true,
},
"build": &schema.Schema{
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"version": &schema.Schema{
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"metadata_keys": &schema.Schema{
Type: schema.TypeSet,
Optional: true,
ForceNew: true,
Elem: &schema.Schema{Type: schema.TypeString},
Set: func(v interface{}) int {
return hashcode.String(v.(string))
@ -55,6 +60,7 @@ func resourceArtifact() *schema.Resource {
"metadata": &schema.Schema{
Type: schema.TypeMap,
Optional: true,
ForceNew: true,
},
"file_url": &schema.Schema{