Skip to content

Commit 390e9c4

Browse files
authored
Migrate terraform module (#277)
Migrate Terraform module to salesforce org; Clean up .gitignore
1 parent f6a1b7b commit 390e9c4

20 files changed

+716
-282
lines changed

.gitignore

Lines changed: 31 additions & 282 deletions
Original file line numberDiff line numberDiff line change
@@ -1,164 +1,33 @@
1-
_notes/*
2-
tmp/*
3-
tmp*
4-
state.tf
5-
report.json
6-
report.csv
7-
report.md
8-
Pipfile.lock
9-
*.sqlite3-journal
10-
# Created by https://www.gitignore.io/api/macos,python,pycharm,jetbrains,visualstudiocode
11-
# Edit at https://www.gitignore.io/?templates=macos,python,pycharm,jetbrains,visualstudiocode
12-
13-
### JetBrains ###
14-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
15-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
16-
17-
.idea/*
18-
.vscode/*
19-
20-
# Gradle and Maven with auto-import
21-
# When using Gradle or Maven with auto-import, you should exclude module files,
22-
# since they will be recreated, and may cause churn. Uncomment if using
23-
# auto-import.
24-
# *.iml
25-
# *.ipr
26-
27-
# CMake
28-
cmake-build-*/
29-
30-
# Mongo Explorer plugin
31-
.idea/**/mongoSettings.xml
32-
33-
# File-based project format
34-
*.iws
35-
36-
# IntelliJ
37-
out/
38-
39-
# mpeltonen/sbt-idea plugin
40-
.idea_modules/
41-
42-
# JIRA plugin
43-
atlassian-ide-plugin.xml
1+
# Repository specific
2+
terraform_module/demo/template.json
443

45-
# Cursive Clojure plugin
46-
.idea/replstate.xml
4+
# IDEs
5+
.idea
6+
.vscode
477

48-
# Crashlytics plugin (for Android Studio and IntelliJ)
49-
com_crashlytics_export_strings.xml
50-
crashlytics.properties
51-
crashlytics-build.properties
52-
fabric.properties
53-
54-
# Editor-based Rest Client
55-
.idea/httpRequests
56-
57-
# Android studio 3.1+ serialized cache file
58-
.idea/caches/build_file_checksums.ser
59-
60-
### JetBrains Patch ###
61-
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
62-
63-
# *.iml
64-
# modules.xml
65-
# .idea/misc.xml
66-
# *.ipr
67-
68-
# Sonarlint plugin
69-
.idea/sonarlint
70-
71-
### macOS ###
72-
# General
8+
# Mac OS X
739
.DS_Store
74-
.AppleDouble
75-
.LSOverride
76-
77-
# Icon must end with two \r
78-
Icon
79-
80-
# Thumbnails
81-
._*
82-
83-
# Files that might appear in the root of a volume
84-
.DocumentRevisions-V100
85-
.fseventsd
86-
.Spotlight-V100
87-
.TemporaryItems
88-
.Trashes
89-
.VolumeIcon.icns
90-
.com.apple.timemachine.donotpresent
91-
92-
# Directories potentially created on remote AFP share
93-
.AppleDB
94-
.AppleDesktop
95-
Network Trash Folder
96-
Temporary Items
97-
.apdisk
9810

99-
### PyCharm ###
100-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
101-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
11+
# Serverless framework
12+
.serverless
13+
.requirements.zip
14+
node_modules/
10215

103-
# User-specific stuff
104-
105-
# Generated files
106-
107-
# Sensitive or high-churn files
108-
109-
# Gradle
110-
111-
# Gradle and Maven with auto-import
112-
# When using Gradle or Maven with auto-import, you should exclude module files,
113-
# since they will be recreated, and may cause churn. Uncomment if using
114-
# auto-import.
115-
# .idea/modules.xml
116-
# .idea/*.iml
117-
# .idea/modules
118-
# *.iml
119-
# *.ipr
120-
121-
# CMake
122-
123-
# Mongo Explorer plugin
124-
125-
# File-based project format
126-
127-
# IntelliJ
128-
129-
# mpeltonen/sbt-idea plugin
130-
131-
# JIRA plugin
132-
133-
# Cursive Clojure plugin
134-
135-
# Crashlytics plugin (for Android Studio and IntelliJ)
136-
137-
# Editor-based Rest Client
138-
139-
# Android studio 3.1+ serialized cache file
140-
141-
### PyCharm Patch ###
142-
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
143-
144-
# *.iml
145-
# modules.xml
146-
# .idea/misc.xml
147-
# *.ipr
16+
# Working directories
17+
tmp
18+
!.gitkeep
19+
_notes/*
14820

149-
# Sonarlint plugin
21+
# Static HTML generated documentation
22+
site/*
15023

151-
### Python ###
152-
# Byte-compiled / optimized / DLL files
24+
# Python
25+
.coverage
26+
.Python
15327
__pycache__/
15428
*.py[cod]
15529
*$py.class
156-
157-
# C extensions
158-
*.so
159-
160-
# Distribution / packaging
161-
.Python
30+
env/
16231
build/
16332
develop-eggs/
16433
dist/
@@ -170,23 +39,10 @@ lib64/
17039
parts/
17140
sdist/
17241
var/
173-
wheels/
174-
pip-wheel-metadata/
175-
share/python-wheels/
42+
venv/
17643
*.egg-info/
17744
.installed.cfg
17845
*.egg
179-
MANIFEST
180-
181-
# PyInstaller
182-
# Usually these files are written by a python script from a template
183-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
184-
*.manifest
185-
*.spec
186-
187-
# Installer logs
188-
pip-log.txt
189-
pip-delete-this-directory.txt
19046

19147
# Unit test / coverage reports
19248
htmlcov/
@@ -201,124 +57,17 @@ coverage.xml
20157
.hypothesis/
20258
.pytest_cache/
20359

204-
# Translations
205-
*.mo
206-
*.pot
207-
208-
# Django stuff:
209-
*.log
210-
local_settings.py
211-
db.sqlite3
212-
db.sqlite3-journal
213-
214-
# Flask stuff:
215-
instance/
216-
.webassets-cache
217-
218-
# Scrapy stuff:
219-
.scrapy
220-
221-
# Sphinx documentation
222-
docs/_build/
223-
224-
# PyBuilder
225-
target/
226-
227-
# Jupyter Notebook
228-
.ipynb_checkpoints
229-
230-
# IPython
231-
profile_default/
232-
ipython_config.py
233-
234-
# pyenv
235-
.python-version
236-
237-
# pipenv
238-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
239-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
240-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
241-
# install all needed dependencies.
242-
#Pipfile.lock
243-
244-
# celery beat schedule file
245-
celerybeat-schedule
246-
247-
# SageMath parsed files
248-
*.sage.py
249-
250-
# Environments
251-
.env
252-
.venv
253-
env/
254-
venv/
255-
ENV/
256-
env.bak/
257-
venv.bak/
258-
259-
# Spyder project settings
260-
.spyderproject
261-
.spyproject
262-
263-
# Rope project settings
264-
.ropeproject
265-
266-
# mkdocs documentation
267-
/site
268-
269-
# mypy
270-
.mypy_cache/
271-
.dmypy.json
272-
dmypy.json
273-
274-
# Pyre type checker
275-
.pyre/
276-
277-
### VisualStudioCode ###
278-
.vscode/*
279-
!.vscode/settings.json
280-
!.vscode/tasks.json
281-
!.vscode/launch.json
282-
!.vscode/extensions.json
283-
284-
### VisualStudioCode Patch ###
285-
# Ignore all local history of files
286-
.history
287-
288-
# End of https://www.gitignore.io/api/macos,python,pycharm,jetbrains,visualstudiocode
289-
.vscode/settings.json
290-
291-
# Created by https://www.gitignore.io/api/terraform
292-
# Edit at https://www.gitignore.io/?templates=terraform
293-
294-
### Terraform ###
295-
# Local .terraform directories
60+
# HashiCorp
29661
**/.terraform/*
297-
298-
# .tfstate files
62+
*.plan
29963
*.tfstate
30064
*.tfstate.*
65+
*.tfvars
66+
!terraform.tfvars
67+
.vagrant
68+
packer_cache/
69+
*.box
30170

302-
# Crash log files
303-
crash.log
304-
305-
# Ignore any .tfvars files that are generated automatically for each Terraform run. Most
306-
# .tfvars files are managed as part of configuration and so should be included in
307-
# version control.
308-
#
309-
# example.tfvars
310-
311-
# Ignore override files as they are usually used to override resources locally and so
312-
# are not checked in
313-
override.tf
314-
override.tf.json
315-
*_override.tf
316-
*_override.tf.json
317-
318-
# Include override files you do wish to add to version control using negated pattern
319-
# !example_override.tf
320-
321-
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
322-
# example: *tfplan*
323-
324-
# End of https://www.gitignore.io/api/terraform
71+
#### Other
72+
*.log
73+
*.pem

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- repo: git://github.com/antonbabenko/pre-commit-terraform
2+
rev: v1.44.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
3+
hooks:
4+
- id: terraform_fmt
5+
- id: terraform_docs
6+
# args: ['--sort-by-required', '--no-providers']

0 commit comments

Comments
 (0)