Giter VIP home page Giter VIP logo

rixrix / vscode-terraform-snippets Goto Github PK

View Code? Open in Web Editor NEW
48.0 5.0 31.0 376 KB

Advanced Terraform Snippets for Visual Studio Code. It has at least 23k downloads from the marketplace.

Home Page: https://marketplace.visualstudio.com/items?itemName=mindginative.terraform-snippets

License: MIT License

JavaScript 100.00%
terraform vscode-extension snippets devops visual-studio cloud plugin docker kubernetes ide

vscode-terraform-snippets's Introduction

Hi there ๐Ÿ‘‹, I'm Richard Sentino

Linkedin Badge Website Badge Twitter Badge

Iโ€™m a dabbler so sometimes I mess around with technologies like: Docker, Terraform, AWS Web Services, Linux configuration, CI, Bash scripting, Go, Rust, networking, contracting - Iโ€™ve dabbled enough to understand a full stack system.

My curiosity in various areas of tech stack on/off my day job means I can to talk to and communicate effectively with people in other areas.

Misc. stuff

  • I'm currently learning Rust language, see Rust Daily Snippets, Fla1 Network, Inkiobi
  • I'm presently employed at a Web3/Blockchain company
  • Contributed to some opensource projects
  • Worked at 5x startup companies
  • Always learning!

vscode-terraform-snippets's People

Contributors

achandmsft avatar dan-hughes avatar hintikkakimmo avatar lktslionel avatar madole avatar mattmencel avatar praveengostu avatar rixrix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vscode-terraform-snippets's Issues

Many snippets do not work in VS Code on Mac OS

Many snippets e. g. tf-vsphere* or tf-openstack* do not seem to work on VS Code on Mac OS.

Steps to reproduce:

  • Create a .tf file associated with Terraform Syntax Highlighting
  • Start typing "tf-vsp", nothing happens :(

Tested with:

  • VS Code 1.19.3 on Mac OS 10.12.6 (Sierra)
  • Advanced Terraform Snippets for Visual Studio Code 2.0.1

azurerm_storage_account resource's account_type is deprecated

Action: Typed tf-azurerm_storage_account
Actual Result:

resource "azurerm_storage_account" "MyResource" {
   name = "storageaccountname"
   resource_group_name = "${azurerm_resource_group.test.name}"
   location = "West US"
   account_type = "Standard_GRS"
}

Output of terraform plan

Warning: azurerm_storage_account.test: "account_type": [DEPRECATED] This field has been split into `account_tier` and `account_replication_type`

Error: azurerm_storage_account.test: "account_replication_type": required field is not set

Error: azurerm_storage_account.test: "account_tier": required field is not set

Expected Result:

resource "azurerm_storage_account" "MyResource" {
   name = "storageaccountname"
   resource_group_name = "${azurerm_resource_group.test.name}"
   location = "West US"
   account_tier = "Standard"
   account_replication_type="GRS"
}

Versions
Terraform v0.11.1

  • provider.azurerm v0.3.3

Extension : 1.10.5

split large provider into individual snippets

TF providers like Amazon, Azure and Google have a huge snippets thus making bug fixes, and adding new features is a bit tideous. I'd be good to have the following setup eg;

  • aws.json
  • aws-s3.json
  • aws-ec2.json
  • etc

Is the extension versioned

Is the extension versioned. So will i be able to get older achives of the extension. Say this version has support for some and next version has support for more and i need to access old version

Integration with AI-CLI?

Hi there,

Not sure if you are still looking for someone to take over this project?

I'm happy to work on it in my spare time, keeping things updated and satisfying issues, because I am using a very similar technology as part of a much bigger API/CLI for a project that I'm working on.

I would like to talk to you more about the architecture of the engine too, because ideally I'm going to have use something like h2o to slurp up my CLI programs that operate much like this does, and then offer LSP-style autocompletion without needing to implement the heavy dependency of the actual language server protocol.

Is that making sense? If it were me I'd go with storing all the configuration data in a local rethink binary that you can install as a runtime dependency using a simple brew formula, this way it's very basic to install both this extension and the data management control plane for it.

Anyhow hit me up on my slack: allwedois.slack.com hi@ lynsei dot com

test terraform snippet locally

Hi @rixrix ,

A tricky question, I've added Rancher provider, is there any ways I can test it locally without repeatedly publish it to vscode marketplace or waiting for PR to this repo?

Thank you.

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.