Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_managed_application - "unexpected parameter type []interface {}" #20016

Closed
1 task done
mtarnoci opened this issue Jan 14, 2023 · 1 comment · Fixed by #21541
Closed
1 task done

azurerm_managed_application - "unexpected parameter type []interface {}" #20016

mtarnoci opened this issue Jan 14, 2023 · 1 comment · Fixed by #21541

Comments

@mtarnoci
Copy link

mtarnoci commented Jan 14, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.3.7

AzureRM Provider Version

3.39.0

Affected Resource(s)/Data Source(s)

azurerm_managed_application

Terraform Configuration Files

https://www.dropbox.com/s/f3d3u97wownj1se/bug_azurerm_managed_application.zip?dl=0

Debug Output/Panic Output

https://gist.github.com/mtarnoci/ba5565e144379af1fe54cb3f3eab6cba

Expected Behaviour

No response

Actual Behaviour

I've tried to deploy Cisco SDWAN NVA in Virtual Hub from Marketplace using azurerm_managed_application resource.
NVA is deployed successfully, I can see it via Azure Console, also via CLI, however resource creation in terraform ends with error:

Error: unexpected parameter type []interface {}

│ with azurerm_managed_application.test-app-[0],

Same Error I can see when tried to deploy this application via Azure Portal and then import it to the Terraform.
Terraform log is provided by Gist link above.

BTW, I've tried to use azapi provider to deploy the same managed application using this resource: https://learn.microsoft.com/en-us/azure/templates/microsoft.solutions/2019-07-01/applications?pivots=deployment-language-terraform.

With AZAPI provider it is deployed successfully without error, however we would like to use AzureRM provider.

Steps to Reproduce

simple code provided by Dropbox link above
terraform apply -var-file example_variables_values.tfvars

Important Factoids

No response

References

No response

Copy link

github-actions bot commented May 8, 2024

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 have 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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants