OpenTofu and Azure IaC for State Management #2167
Unanswered
iacwithazure
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The Storage Account is a classic chicken-egg problem when it comes to provisioning and managing it via Terraform. Here’s a possible solution:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking to understand whether there is some opensource solution or Azure Native solution for managing the backend "Bootstrap" environment that hosts the storage account and containers that manage my Application's root module state. My goal is to have the ability to deploy both the Bootstrap and Application IaC while maintaining impotence. Right now I have two solutions which ultimately face the same issue in the end which is at the tail end of the backend state environments.
With both of these, it will require local state to be used to some extent.
One benefit of working with Azure is that it enables the terraform import command which allows an existing resource ID to be managed by state. With this knowledge, I will have a script handy to import the config to a state management, although still unsure if I can import to local state.
One utility that popped up on my radar is terrakube (https://docs.terrakube.io/), but I don't have any Kubernetes, I'm strictly deploying IaaS and PaaS at this time.
Any advice is helpful!
Beta Was this translation helpful? Give feedback.
All reactions