Skip to content

Commit 04eb188

Browse files
committed
providers/atlas: force new
1 parent a8c05ac commit 04eb188

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

builtin/providers/atlas/resource_artifact.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,31 @@ func resourceArtifact() *schema.Resource {
2626
"name": &schema.Schema{
2727
Type: schema.TypeString,
2828
Required: true,
29+
ForceNew: true,
2930
},
3031

3132
"type": &schema.Schema{
3233
Type: schema.TypeString,
3334
Required: true,
35+
ForceNew: true,
3436
},
3537

3638
"build": &schema.Schema{
3739
Type: schema.TypeString,
3840
Optional: true,
41+
ForceNew: true,
3942
},
4043

4144
"version": &schema.Schema{
4245
Type: schema.TypeString,
4346
Optional: true,
47+
ForceNew: true,
4448
},
4549

4650
"metadata_keys": &schema.Schema{
4751
Type: schema.TypeSet,
4852
Optional: true,
53+
ForceNew: true,
4954
Elem: &schema.Schema{Type: schema.TypeString},
5055
Set: func(v interface{}) int {
5156
return hashcode.String(v.(string))
@@ -55,6 +60,7 @@ func resourceArtifact() *schema.Resource {
5560
"metadata": &schema.Schema{
5661
Type: schema.TypeMap,
5762
Optional: true,
63+
ForceNew: true,
5864
},
5965

6066
"file_url": &schema.Schema{

0 commit comments

Comments
 (0)