Code Monkey home page Code Monkey logo

Comments (6)

sergeylanzman avatar sergeylanzman commented on August 23, 2024

It's never tested on windows....
I think it's can work in windows with small changes..
on windows terraform use %APPDATA%\terraform.d\plugins and not ~/.terraform.d/plugins
terraformer use $HOME/.terraform.d/plugins https://github.com/GoogleCloudPlatform/terraformer/blob/master/terraform_utils/provider_wrapper/provider.go#L117
maybe more small changes.

from terraformer.

gliptak avatar gliptak commented on August 23, 2024

@sergeylanzman would you be interested in a PR pointing the plugins to the current directory? the install process would need to change:

  • run terraform init against an init.tf installing the platform correct plugin relative to current directory
# Configure the AWS Provider
provider "aws" {
}
  • update code to read relative to current directory

I tested this change above on Windows against AWS.

from terraformer.

sergeylanzman avatar sergeylanzman commented on August 23, 2024

@gliptak Good idea.

  1. Find provider in current folder .terraform/ (regular path with terraform after terraform init)
  2. If not find provider in current folder => fallback to $HOME/.terraform.d/plugins.

It's can be more easy for install process.

from terraformer.

sergeylanzman avatar sergeylanzman commented on August 23, 2024

Windows support now
Thanks @gliptak

from terraformer.

gliptak avatar gliptak commented on August 23, 2024

@sergeylanzman please generate a Windows binary with next release at https://github.com/GoogleCloudPlatform/terraformer/releases

from terraformer.

imkhan1104 avatar imkhan1104 commented on August 23, 2024

did you manage to get it to work @MayurBMahajan ?

from terraformer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.