Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add snippets for most basic terraform blocks #426

Merged
merged 2 commits into from Mar 31, 2024

Conversation

lasse16
Copy link
Contributor

@lasse16 lasse16 commented Mar 29, 2024

This PR adds snippets for the basic building blocks of Terraform ( Data Sources, Input Variables, Resources, Output variables )

Copy link
Collaborator

@OkelleyDevelopment OkelleyDevelopment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! These additions should definitely help others greatly.

@OkelleyDevelopment OkelleyDevelopment merged commit d2b29e8 into rafamadriz:main Mar 31, 2024
bobbyrahmanda13 added a commit to bobbyrahmanda13/friendly-snippets that referenced this pull request Apr 1, 2024
…et for vue

update

fix rafamadriz#385: add terraform snippets to package.json

snprintf() snippet incorrectly inserts sprintf() body

(c.json) improve function snips

Make former `fund` (-> `fun`) more universal
Also, make the prefixes more logical

(c.json) Add _GNU_SOURCE snippet

Snippet to enable GNU functions

(c.json) Update GNU_SOURCE description

Update the description to be more specific for newbies to C

Fixed for range loop in gdscript

add blade snippets (rafamadriz#374)

* add blade snippets

* fix json formatting

Add rfv for React, compatible with Vite (rafamadriz#384)

feat(global): Add UUID snippet (rafamadriz#386)

remove extra spaces in deployment and pod snippets (rafamadriz#390)

Reorder html5 document template (rafamadriz#393)

The encoding `<meta charset="UTF-8>` is usually declared before any text-containing elements such as the `<title>`.

p.s. Emmet follows this ordering too

feat: add snippet for debugpy remote attach (rafamadriz#397)

useful on remote debugging, especially on slurm

feat(kubernetes): set default container (rafamadriz#399)

* feat(kubernetes): set default container

According to https://github.com/kubernetes/enhancements/blob/master/keps/sig-cli/2227-kubectl-default-container/README.md

* feat(kubernetes): set default container for daemon set

Added Github Alerts (rafamadriz#402)

Added snippets for github alerts as in webpages

Removes snippets for vue2 (rafamadriz#396)

* vue2 is no longer supported as of December 31, 2023.

feat: add new snippet vue

fix: typo description reactive

chore: change name file vue readable

feat: add style.json, fix, refactoring snippet vue

fix: choice vue style

feat(editorconfig): add editorconfig snippets (rafamadriz#392)

* feat(editorconfig): add editorconfig snippets

feat(ruby): add binding.break snippet (rafamadriz#403)

Add PureScript snippets (rafamadriz#401)

* Add Purescript snippets

add new snippet for vue (rafamadriz#404)

* remove snippet vue 2 is dead

* feat: add new snippet vue

* fix: typo description reactive

* chore: change name file vue readable

* feat: add style.json, fix, refactoring snippet vue

* fix: choice vue style

fix: style tailwind aspec ratio

fix: error refVueTs

fix: snippet script.json

style: indent script.json

feat: add new snippet

feat: add new snippet vue

reset commit

feat: add snippet, fix code, and indent

chore: add snippet vue

style: fix indent all file vue

chore: add snippet vue

chore: fix bind :to nuxtlink

chore: add snippet script.json include js and ts

chore: add snippet vue html

chore: add defineModel to script.json

chore: add new snippet

feat: added vue snippet for nuxt and took typescript javascript snippet for vue

Remove some none (rafamadriz#409)

Co-authored-by: orion GONZALEZ (contractor) <orion.gonzalez@amadeus.com>

feat: mod test (rafamadriz#414)

- Adds the mod-test block snippet
- Updates the `match` snippet to be more general

todo instead of unimplemented (rafamadriz#415)

feat(asciidoc): add snippets (rafamadriz#419)

feat(markdown): use single space between columns in tables (rafamadriz#420)

docs(readme): update github admonition syntax (rafamadriz#422)

feat(gleam): add gleam snippets rafamadriz#418 (rafamadriz#423)

- Add snippet support for Gleam. The snippets are taken from
https://github.com/gleam-lang/vscode-gleam/blob/main/snippets.json

- Minor edit in `package.json`

feat: add snippets for most basic terraform blocks (rafamadriz#426)

* feat: add basic terraform snippets

* fix: remove periods in placeholder text

fix(markdown): use correct placeholder values for table 5x2 (rafamadriz#421)
hieulw added a commit to hieulw/friendly-snippets that referenced this pull request Apr 7, 2024
Duplicated key `resource` in terraform snippet cause `vsnip` error in my neovim recently
Probably because this merge request rafamadriz#426 add new resource key but forgot remove the old one.
I deleted the old one because two key doing the same purpose but the new one added by rafamadriz#426 is more verbose
OkelleyDevelopment pushed a commit that referenced this pull request Apr 29, 2024
Remove duplicated key `resource` in terraform snippet. The one introduced in #426 remains as it has better readability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants