If I remove "required_providers" from the basic module level for the infobox code, the provider's path is incorrect.
I didn't observe similar behavior in other providers.
My code is a nested module structure below. The root code loads the module "create_a_server", and the module loads the "create_dns_name" basic module to create a DNS record as one step in a big workflow.
If I remove the two blocks above in the basic module "create_dns_name", then run the command terraform providers, the output shows an incorrect provider path:
Keeping the provider block at the basic module level creates another challenge when creating multiple DNS names. The current infoblox_ip* resources do not support creating multiple DNS names for multiple IP addresses. We have to create a loop for the block or module.
If I remove "required_providers" from the basic module level for the infobox code, the provider's path is incorrect. I didn't observe similar behavior in other providers.
My code is a nested module structure below. The root code loads the module "create_a_server", and the module loads the "create_dns_name" basic module to create a DNS record as one step in a big workflow.
According to my testing, the following block must be placed in the basic module "create_dns_name".
Because the above block is at the basic module level, I must also put the
provider
block at the same level; otherwise, it throws an error.If I remove the two blocks above in the basic module "create_dns_name", then run the command
terraform providers
, the output shows an incorrect provider path:Keeping the
provider
block at the basic module level creates another challenge when creating multiple DNS names. The current infoblox_ip* resources do not support creating multiple DNS names for multiple IP addresses. We have to create a loop for the block or module.