Azure / aztfexport

A tool to bring existing Azure resources under Terraform's management
https://azure.github.io/aztfexport/
Mozilla Public License 2.0
1.53k stars 174 forks source link

Append to remote state successful, but plan shows destroy #526

Closed paramonovnik closed 1 month ago

paramonovnik commented 1 month ago

I successfully appended new resources to existing tfstate file, although there was an error saying invalid key "container_name" in dynamically-typed value Anyway, resources seem to be added to the state file, but when I run terraform plan - it shows 5 to destroy 5 to create, it does see the resources but it wants to delete them first and only then recreate the same ones with the exact same config. Any idea why that could be?

paramonovnik commented 1 month ago

Resource names were not matching - my bad