Skip to content

What happens during the subsequent applies with a btp resource that was created during the initial apply? #1017

Answered by lechnerc77
ptesny asked this question in Q&A
Discussion options

You must be logged in to vote

The resource subscription does not support updates in general (see https://github.com/SAP/terraform-provider-btp/blob/main/internal/provider/resource_subaccount_subscription.go#L272)

When the situation you describe appears, the Terraform execution plan wants to trigger an update on the resource. When this is triggered depends on the changes in your overall configuration and how Terraform interprets that change and propagates it down the chain of dependencies.

Thinking about it, maybe it makes sense to add RequiresReplace modifiers to the parameters, when one of the subscription parameters gets changed

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@ptesny
Comment options

@lechnerc77
Comment options

Answer selected by ptesny
@lechnerc77
Comment options

@ptesny
Comment options

@lechnerc77
Comment options

@ptesny
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants