Add fields to each items default section #80
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves: #17
Description:
There is currently no ability to add custom fields outside of a section with the 1Password Terraform provider.
Solution:
A list of fields can now be defined outside of a section. Applying this is similar to how we currently implement fields inside a section.
It's important to note that in order to make this happen some other updates had to take place:
secure_note
category is added because there was no way to add fields without a password (also referenced in Feature Request: allow onepassword_item resource to be created without a password #66).note_value
in the resource as it was previously set in the data source.purpose
value from from the fields as it can cause a collision with thenote_value
argument whenNOTES
is set as the purpose.terraform apply
.