Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
[Terraform Connector] [AzureRM Provider] Catalog Item is not created properly with Terraform resource using derived AzureRM provider version or using 2.x version specified explicitly - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • [Terraform Connector] [AzureRM Provider] Catalog Item is not created properly with Terraform resource using derived AzureRM provider version or using 2.x version specified explicitly
KB0830888

[Terraform Connector] [AzureRM Provider] Catalog Item is not created properly with Terraform resource using derived AzureRM provider version or using 2.x version specified explicitly


381 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

  • Catalog Item is not created properly with Terraform resource using derived AzureRM provider version or using 2.x version specified explicitly.

  • Terraform released AzureRM 2.x provider and mentioned that 1.44.0 (released Feb'20) intended to be last release in 1.x line

         https://github.com/terraform-providers/terraform-provider-azurerm/releases/tag/v1.44.0

Release

  • All

Resolution

  • Steps for creating Catalog Item using Terraform resource definition here below

    1. Create Terraform (TF) resource definition for provisioning Azure resources (VM, Disks, etc.)

      2. As part of resource definition, specify AzureRM provider version as latest 2.x version or skip specifying version (Version derived from Terraform binary)

      3. Create Terraform Server with Terraform binary (0.11.14 or higher, 0.12.x)

      4. Add/Import TF definitions created in Step 1 in Terraform Server

      5. Go to CMPv2 -> Admin Portal -> Manage -> Config Management -> Config Providers -> Create Terraform Environment 'AzureTF'. Choose Server created in Step 3

      6. Run 'Discover Now' on 'AzureTF' Config Provider. Validate if TF definitions specified in Step 1-4 are available

      7. Go to CMPv2 -> Admin Portal -> Design -> Cloud Catalog Items -> Create New Catalog Item using TF resources discovered in Step 5

      8. Go to 'Cloud Templates' related list in Catalog Item created in Step 6 and Import TF Script

      9. TF resource variables are not imported/parsed from actual TF resource definition.

  • Import the attached Update set on to the instance and it should fix the issue.

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

  • sys_remote_update_set_88cd0a9cdb5590101b3e629813961933.xml

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.