Open fabian-kramer opened 4 months ago
Hi @fabian-kramer. I think this is happening because these fields are not actually part of the datamodel in terraform, so terraform ignores them, and subsequently does not send them to storyblok either.
I will see if I can add the fields
Version information
Describe the bug
When specifying standard link attributes like this:
Only the
allow_target_blank
andforce_link_scope
attributes are set in Storyblok. The other values likeasset_link_type
andshow_anchor
are ignored. Based on the export from Storyblok before importing into Terraform looks like this:but they are partly missing in the tfstate file:
As you can see, some are missing, they are always set to false if the component is modified, probably because the provider is not aware of them. I also found this issue: https://github.com/labd/terraform-provider-storyblok/issues/45 There it is stated that the anchor attribute is fixed, but unfortunately, it is not. Maybe something else broke it again?
To Reproduce
Create a resource like a button, add the link attribute and try to set one of the following to "true":
Expected behavior
The values are passed to Storyblok and can be updated.