I am writing terraform config for azure app configuration block everything is working fine except replica block when I comment that replica block code is running without any issues.
Tried multiple options but still error is same.
I am writing terraform config for azure app configuration block everything is working fine except replica block when I comment that replica block code is running without any issues.
Tried multiple options but still error is same.
Copyright © 2021 Jogjafile Inc.
The Blocker mentioned in the comments unsupported block type is the error for replica block represents the depreciation of the provider info.
The replica block was introduced in the app_configuration terraform module from the version 3.74.0. To use this module in your configuration make sure you updated the provider version equal or greater than 3.74.0.
when you uncomment the module replica with the version mentioned you will be able to achieve the requirement you're looking for.
I took the demo Terraform configuration to check replica blocks work fine with the updated provider version.
My demo terraform configuration:
Output: