Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TF Plan directory issue #10

Copy link
Copy link
Open
Open
Copy link
@amolsp777

Description

@amolsp777
Issue body actions

Hello Piyush,

I followed the video and steps but got this below error in TF Plan

/usr/local/bin/terraform providers
╷
│ Error: No configuration files
│ 
│ The directory /home/vsts/work/1/s contains no Terraform configuration
│ files./usr/local/bin/terraform plan -out /home/vsts/work/1/s/tfplanfile -detailed-exitcode
╷
│ Error: No configuration files
│ 
│ Plan requires configuration to be present. Planning without a configuration
│ would mark everything for destruction, which is normally not what is
│ desired. If you would like to destroy everything, run plan with the
│ -destroy option. Otherwise, create a Terraform configuration file (.tf
│ file) and try again.##[warning]Can't find loc string for key: TerraformPlanFailed
##[error]Error: TerraformPlanFailed 1
Finishing: TF plan

FYI.. I didn't execute the tf code using a manual process but imported it in the ADO repo and tried from there the first time, will that impact? guess no.
Please assist with how to come out of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.