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

Sign up
Appearance settings

Terraform and Azure DevOps #19

Open
@uzairmpasha

Description

I have been working on Terraform using AzureDevOps before that I developed tf files using VS code and everything worked fine when try to move files from VS code to Azure DevOps , getting issue on Archive source file path it unable to find the directory, searched every where but unable to resolve this,

Path which was working fine on VS code was ".../Folder name" using same path in Azure DevOps as I have upload completed folder that I have build in VS code but it always get failed when try to archive files as it un-able to find the directory.

`
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
# Root module should specify the maximum provider version
# The (削除) > operator is a convenient shorthand for allowing only patch releases within a specific minor release.
version = " (削除ここまで)
>2.11"
}
}
}

provider "azurerm" {
features {}
#skip_provider_registration = true
}

locals {
location = "uksouth"
}

data "archive_file" "file_function_app" {
type = "zip"
source_dir = "../BlobToBlobTransferPackage"
output_path = "blobtoblobtransfer-app.zip"
}

module "windows_consumption" {
source = "./modules/fa"

archive_file = data.archive_file.file_function_app
}

output "windows_consumption_hostname" {
value = module.windows_consumption.function_app_default_hostname
}
`

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

        AltStyle によって変換されたページ (->オリジナル) /