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

ERROR: No AWS, Azure or Google resources will be created with current plan. Exiting. #124

Open
ken-master opened this issue May 29, 2024 · 1 comment

Comments

@ken-master
Copy link

I am getting the error below, when running terravision draw --source ~/projects/iac-terraform

ERROR: No AWS, Azure or Google resources will be created with current plan. Exiting.

I am using Azure,

transcript are:

 _____                          _     _
/__   \___ _ __ _ __ __ ___   _(_)___(_) ___  _ __
  / /\/ _ \ '__| '__/ _` \ \ / / / __| |/ _ \| '_ \
 / / |  __/ |  | | | (_| |\ V /| \__ \ | (_) | | | |
 \/   \___|_|  |_|  \__,_| \_/ |_|___/_|\___/|_| |_|




Preflight check..
  dot command detected: /usr/bin/dot
  gvpr command detected: /usr/bin/gvpr
  git command detected: /usr/bin/git
  terraform command detected: /usr/bin/terraform

Checking Terraform Version...

Terraform v1.7.4

Initializing the backend...

Successfully configured the backend "azurerm"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Finding hashicorp/random versions matching "3.6.0"...
- Finding hashicorp/azurerm versions matching "3.99.0"...
- Finding latest version of azure/azapi...
- Installing hashicorp/random v3.6.0...
- Installed hashicorp/random v3.6.0 (signed by HashiCorp)
- Installing hashicorp/azurerm v3.99.0...
- Installed hashicorp/azurerm v3.99.0 (signed by HashiCorp)
- Installing azure/azapi v1.13.1...
- Installed azure/azapi v1.13.1 (signed by a HashiCorp partner, key ID 6F0B91BDE98478CF)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Initalising workspace: default


Generating Terraform Plan..

Acquiring state lock. This may take a few moments...

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the
following symbols:
  + create
 <= read (data resources)

Terraform will perform the following actions:



<TERRAFORM PLAN OUTPUT HERE>

Saved the plan to: /tmp/tfplan.bin

To perform exactly these actions, run the following command to apply:
    terraform apply "/tmp/tfplan.bin"
Releasing state lock. This may take a few moments...

Decoding plan..


Analysing plan..


Converting TF Graph Connections..  (this may take a while)


ERROR: No AWS, Azure or Google resources will be created with current plan. Exiting.
@bschepke
Copy link

bschepke commented Jun 3, 2024

It doesn't support Azure, yet. Only AWS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants