Error when there are no extra vars defined in inventory source
Closed this issue · 1 comments
ilijamt commented
If the extra_vars is empty you get an error that the state has changed with a new value
│ When applying changes to
│ module.awx_inventory["inv.development"].awx_inventory_source.inventory,
│ provider "provider[\"registry.terraform.io/ilijamt/awx\"]" produced an
│ unexpected new value: .source_vars: was cty.StringVal(""), but now
│ cty.StringVal("---").
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
ilijamt commented
This can be worked around by explicitly settings
source_vars = jsonencode({})
in the terraform definition