Closed sebs closed 1 year ago
to deploy resources twice
Are these two resource definitions? Do they maybe have properties that need to be unique?
Could you share some code of these (presumably two azurerm_storage_account
) resource definitions?
There is only one definition ...
const storageAccountName = this.nameIt.nameKebap('storage-account');
const storageAccount = new StorageAccount(this, storageAccountName, {
name: this.nameIt.shortnameLowerCase('storage-account'),
location: 'North Europe',
resourceGroupName: credentials.resourceGroupName,
accountTier: "Standard",
accountReplicationType: "LRS"
});
that was my mistake in this case.
I will close
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Expected Behavior
I have a ts stack that breaks the deploy after trying to deploy resources twice in one go.
Actual Behavior
Stuff that is different to examples (or there was a lack of them and I had to come up with things)
Steps to Reproduce
Versions
language: typescript OS: osx "cdktf": "0.19.0-pre.5", "constructs": "10.2.70",
Providers
┌───────────────┬──────────────────┬───────┬────────────┬──────────────┬─────────────────┐ │ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │ ├───────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤ │ azuread │ 2.42.0 │ │ ~> 2.41 │ │ │ ├───────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤ │ azurerm │ 3.73.0 │ │ ~> 3.71 │ │ │ ├───────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤ │ azurestack │ 1.0.0 │ │ ~> 1.0 │ │ │ └───────────────┴──────────────────┴───────┴────────────┴──────────────┴─────────────────┘
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
No response
References
No response
Help Wanted
Community Note