Open Quazi-Ahmed opened 2 years ago
hi @Quazi-Ahmed
Can you confirm the value of module.adf_commodities.id
here?
Thanks!
Hi Tom,
PFB value for module.adf_commodities.id: - "/subscriptions/fe9234c3-74d4-416e-902d-4940ddbf29e2/resourceGroups/tor-dataai-dev-rgcode/providers/Microsoft.DataFactory/factories/zcc1daicommadf01dcode"
Thanks & Regards, Quazi Furquan Ahmed TCS associate, Partnering with CN I&T, IMS | I&T T: via Microsoft Teams | C: What's New at CNhttps://www.cn.ca/whatsnew | Quoi de neuf au CNhttps://www.cn.ca/quoi-de-neuf
From: Tom Harvey @.> Sent: Friday, April 22, 2022 3:16 PM To: hashicorp/terraform-provider-azurerm @.> Cc: Quazi Ahmed @.>; Mention @.> Subject: Re: [hashicorp/terraform-provider-azurerm] azurerm_data_factory_integration_runtime_self_hosted: error in resource_id (Issue #16498)
CAUTION: This email originated from outside CN: DO NOT click links or open attachments unless you recognize the sender AND KNOW the content is safe.
AVERTISSEMENT : ce courriel provient d’une source externe au CN : NE CLIQUEZ SUR AUCUN lien ou pièce jointe à moins de reconnaitre l’expéditeur et d'avoir VÉRIFIÉ la sécurité du contenu.
hi @Quazi-Ahmedhttps://github.com/Quazi-Ahmed
Can you confirm the value of module.adf_commodities.id here?
Thanks!
— Reply to this email directly, view it on GitHubhttps://github.com/hashicorp/terraform-provider-azurerm/issues/16498#issuecomment-1106274049, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYFBE3JEMQPJZMTL7SB2ZXTVGJYMVANCNFSM5UALL3MQ. You are receiving this because you were mentioned.Message ID: @.**@.>>
@Quazi-Ahmed based on the Resource ID you've provided this looks correct - the value provided as the data_factory_id
gets parsed and then used to build up the Resource ID for the Integration Runtime, which is in turn used to build up the Data Factory ID - as such this appears to be working as intended?
@tombuildsstuff than while doing terraform plan, why is it showing force replacement ~ data_factory_id = "/subscriptions/fe9234c3-74d4-416e-902d-4940ddbf29e2/resourceGroups/TOR-DATAAI-DEV-RGcode/providers/Microsoft.DataFactory/factories/zcc1daicommadf01dcode" -> "/subscriptions/fe9234c3-74d4-416e-902d-4940ddbf29e2/resourceGroups/tor-dataai-dev-rgcode/providers/Microsoft.DataFactory/factories/zcc1daicommadf01dcode" # forces replacement
Also, we have 100+ data factories, some ADFs having rg name in small case alphabets in data_factory_id while others having it in upper case. I can't understand the issue.
@Quazi-Ahmed were these created with 3.x, or an earlier version of the Provider? If so, which version?
It was created on older version, but now we are upgrading our azureRM provider version and we facing this with ADFs.
Hi @tombuildsstuff Can I have an update please.
Hi @tombuildsstuff , Can I have an update please?
Hi @tombuildsstuff , Can I have an update please?
Is there an existing issue for this?
Community Note
Terraform Version
1.0.11
AzureRM Provider Version
3.0.0
Affected Resource(s)/Data Source(s)
azurerm_data_factory_integration_runtime_self_hosted
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
data_factory_id should be "/subscriptions/fe9234c3-74d4-416e-902d-4940ddbf29e2/resourceGroups/TOR-DATAAI-DEV-RGcode/providers/Microsoft.DataFactory/factories/zcc1daicommadf01dcode"
Actual Behaviour
data_factory_id tending to "/subscriptions/fe9234c3-74d4-416e-902d-4940ddbf29e2/resourceGroups/tor-dataai-dev-rgcode/providers/Microsoft.DataFactory/factories/zcc1daicommadf01dcode"
Steps to Reproduce
terraform plan
Important Factoids
Canada central
References
0000