Closed superwangnan closed 1 month ago
I am not sure, if I get what you want to achieve:
If you want to create two subaccounts with the same configuration you can use the data source to get all the data and then map the data to the mandatory and optional parameters of your resource configuration.
Other sceanrios: You can to some extent compare the data when comparing the states of these resources or the result of the data source when reading the data. However, as some computed values are date fields or GUIDs the comparison will not match 100%. In case you want to bring a resource under the management of Terraform, then you must {import](https://developer.hashicorp.com/terraform/language/import) the resource. The data in the state then matches the resource on BTP
A remark on reporting this as a bug: it would be appreciated if you can place questions into the GitHub Discussions and not report them as a bug.
Is there an existing issue for this?
What version of the Terraform provider are you using?
1.2.0
What version of the Terraform CLI are you using?
1.8.2
What type of issue are you facing
bug report
Describe the bug
Hi team, In my case, I have existing resource in my trial account and when I read resource info from BTP the out put as following:
But when I define a new resource as following code
and run command
terraform plan
the output as following:So, I want to know how we test the match of resource and plan definition? I expect my definition should match the exist resource in my case.
Thanks so much.
Expected Behavior
No response
Steps To Reproduce
No response
User's Role Collections
No response
Add screenshots to help explain your problem
No response
Additional context
No response