You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have running code and when i run terraform plan and apply it works on CLI, but when i run here it shows bwlo error.
ERROR: Invalid output from 'terraform plan' command. Try using the terraform CLI first to check source files have no errors.
Reusing previous version of hashicorp/aws from the dependency lock file
Installing hashicorp/aws v5.39.0...
Installed hashicorp/aws v5.39.0 (signed by HashiCorp)
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..
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the
following symbols:
create
Terraform will perform the following actions:
aws_instance.myec2vm will be created
resource "aws_instance" "myec2vm" {
ami = "ami-01387af90a62e3c01"
arn = (known after apply)
associate_public_ip_address = (known after apply)
availability_zone = (known after apply)
cpu_core_count = (known after apply)
cpu_threads_per_core = (known after apply)
disable_api_stop = (known after apply)
disable_api_termination = (known after apply)
ebs_optimized = (known after apply)
get_password_data = false
host_id = (known after apply)
host_resource_group_arn = (known after apply)
iam_instance_profile = (known after apply)
id = (known after apply)
instance_initiated_shutdown_behavior = (known after apply)
instance_lifecycle = (known after apply)
instance_state = (known after apply)
instance_type = "t3.micro"
ipv6_address_count = (known after apply)
ipv6_addresses = (known after apply)
key_name = (known after apply)
monitoring = (known after apply)
outpost_arn = (known after apply)
password_data = (known after apply)
placement_group = (known after apply)
placement_partition_number = (known after apply)
primary_network_interface_id = (known after apply)
I'm getting the same error for a lot of the tf written at my company. Is there a particular way you have seen Terravision work best? Is it best to have all code in one file?
Hi
I have running code and when i run terraform plan and apply it works on CLI, but when i run here it shows bwlo error.
ERROR: Invalid output from 'terraform plan' command. Try using the terraform CLI first to check source files have no errors.
Output:
Preflight check..
dot command detected: /cygdrive/c/ProgramData/chocolatey/bin/dot
gvpr command detected: /cygdrive/c/ProgramData/chocolatey/bin/gvpr
git command detected: /usr/bin/git
terraform command detected: /usr/bin/terraform
Checking Terraform Version...
Terraform v1.7.2
Initializing the backend...
Initializing provider plugins...
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..
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the
following symbols:
Terraform will perform the following actions:
aws_instance.myec2vm will be created
}
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Saved the plan to: /tmp/tfplan.bin
To perform exactly these actions, run the following command to apply:
terraform apply "/tmp/tfplan.bin"
Analysing plan..
ERROR: Invalid output from 'terraform plan' command. Try using the terraform CLI first to check source files have no errors.
The text was updated successfully, but these errors were encountered: