-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Granular CRN for image datasources and resources #5646
Conversation
5c9a465
to
1fad401
Compare
1fad401
to
d52ef84
Compare
Arg_UserTags: { | ||
Description: "The user tags attached to this resource.", | ||
Elem: &schema.Schema{Type: schema.TypeString}, | ||
ForceNew: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change in tags shouldn't be force_new. Either suppress the diff or provide update support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User tags cannot be updated. Why is this incorrect? We don't want users to try to update the user tag field thinking it will do something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michaelkad Why can't we adapt the same approach like other services team
During create/update always use Global Tagging API's.
This gives capability for user's to add /update tags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hkantare We will make a change to let the user update the tags using the Global Tagging API's.
Elem: &schema.Schema{Type: schema.TypeString}, | ||
ForceNew: true, | ||
Optional: true, | ||
Type: schema.TypeList, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the Type to schema.TypeSet to handle the unordered collection. List is ordered collection even if their change in the position of tags it will show diff
"tags": {
Type: schema.TypeSet,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeString},
Set: schema.HashString,
Description: "Tags set for the resource",
},
```
2ca2931
to
401518a
Compare
21061b1
to
21f8432
Compare
@hkantare we have updated the pr |
625ccc6
21f8432
to
625ccc6
Compare
2143563
667f48c
to
c51f91c
Compare
c51f91c
to
1a0bd78
Compare
Community Note
Relates OR Closes #0000
Output from acceptance testing:
pi_catalog_images (d):
pi_image (d):
pi_images (d):
pi_image (r):
(Used private bucket)