Problem Creating an Azure resource group using Terraform

Miguel Angel Monedero Esteban 31 Reputation points
2022-09-26T12:23:57.627+00:00

I am trying to create a new resource group in azure using terraform but i am getting following error: ![244768-sin-titulo.png][1] [1]: /api/attachments/244768-sin-titulo.png?platform=QnA I am running in VSCode. ¿What could be the problem? Regards.

Azure AI Personalizer
Azure AI Personalizer
An Azure artificial intelligence service that enables applications to personalize user experiences by learning from collective real-time user behavior.
34 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Andreas Baumgarten 113.4K Reputation points MVP
    2022-09-26T12:34:43.367+00:00

    Hi anonymous user ,

    did you run the Terraform init at the beginning of the project? Can't see the line in the Terminal.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

  2. Miguel Angel Monedero Esteban 31 Reputation points
    2022-09-26T12:36:50.447+00:00

    Yes, I did it.

    0 comments No comments

  3. Miguel Angel Monedero Esteban 31 Reputation points
    2022-09-26T12:45:28.847+00:00

    But, If I do in Cloud Shell, It work. ![244844-sin-titulo.png][1] [1]: /api/attachments/244844-sin-titulo.png?platform=QnA I think the problem is in VSCode Terraform extension.

    0 comments No comments

  4. Andreas Baumgarten 113.4K Reputation points MVP
    2022-09-26T12:52:10.47+00:00

    Hi anonymous user ,

    authentication ( az Login ) and selection of the subscription (if there are more than one) is done successful in VS Code?
    Latest version of Az CLI is installed?

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

  5. Miguel Angel Monedero Esteban 31 Reputation points
    2022-09-26T13:03:08.293+00:00

    Yes, It was done successful in VS Code.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.