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

chore(docs): Merge docs content to stable website #1133

Merged
merged 452 commits into from
Oct 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
452 commits
Select commit Hold shift + click to select a range
e274faf
fix module key regression
jsteinich Aug 24, 2021
98e79f4
update file location and local tests
jsteinich Aug 24, 2021
1bd8d34
1st pass of new test cases
jsteinich Aug 25, 2021
b6908d7
fix some of the tests
jsteinich Aug 25, 2021
e9b7655
fix up remaining new tests
jsteinich Aug 25, 2021
025f6b9
alter test to not need path relative to run location
jsteinich Aug 26, 2021
c2414bd
work on fixing tests
jsteinich Aug 26, 2021
83e133b
update python module name
jsteinich Aug 26, 2021
0199d4a
try picking a more appropriate name for go package
jsteinich Aug 26, 2021
0323f11
update go module creation example
jsteinich Aug 28, 2021
6f0db85
Merge pull request #1031 from jsteinich/fix_convert_remote_state
DanielMSchmidt Sep 21, 2021
a5d0380
feat(lib): use jest asymetric matchers for nicer error messages in jest
DanielMSchmidt Sep 20, 2021
0c7464e
Merge pull request #1052 from hashicorp/fix-testing-assertions-deep-e…
DanielMSchmidt Sep 21, 2021
5e515ae
fix(cli): don't create config.json files if none was present during t…
DanielMSchmidt Sep 21, 2021
7d6513e
Merge pull request #1054 from hashicorp/telemtry-cdktf-json-creation
ansgarm Sep 21, 2021
5c03fd2
Merge branch 'main' into integration-tests-jest
ansgarm Sep 21, 2021
2e58e0b
Merge pull request #1051 from hashicorp/integration-tests-jest
ansgarm Sep 21, 2021
4d1eb34
chore(docs): Project Setup
skorfmann Sep 21, 2021
888a680
chore: fix config for dependabot
ansgarm Sep 21, 2021
2ecb944
chore(deps): bump tmpl from 1.0.4 to 1.0.5
dependabot[bot] Sep 21, 2021
31f83d1
Merge pull request #1055 from hashicorp/dependabot/npm_and_yarn/tmpl-…
ansgarm Sep 21, 2021
f9e12a1
Remove cdktf.json schema as it will now have its own page in project …
laurapacilio Sep 21, 2021
cddb351
Feedback and edits to project setup PR :-)
laurapacilio Sep 21, 2021
8ca0b37
fix(lib): fix source path generated for local modules
JonCubed Sep 2, 2021
dfca7c5
update snapshot
jsteinich Sep 16, 2021
e055d9f
Merge pull request #947 from JonCubed/fix-local-module-source-path
DanielMSchmidt Sep 22, 2021
b32e9ce
chore(release): update changelog
DanielMSchmidt Sep 22, 2021
91b4bfd
chore(release): Bump version to 0.6.3
DanielMSchmidt Sep 22, 2021
d2a083a
fix(lib): Fix release pipeline
skorfmann Sep 22, 2021
2821ee4
fix(docs): typo in documentation
Sep 22, 2021
1a648a0
Merge pull request #1061 from hashicorp/fix-release-pipelines
ansgarm Sep 22, 2021
aa6a626
Merge branch 'main' into prepare-release-0.6.3
skorfmann Sep 22, 2021
69dd5cd
chore(tests): Don't run full test suite for docs chamges
skorfmann Sep 22, 2021
d6912e7
Add prettier workflow for website
skorfmann Sep 22, 2021
e97fbc9
run prettier autofix
skorfmann Sep 22, 2021
07cd881
Merge branch 'main' into bugfix/typo
ansgarm Sep 22, 2021
e811acd
trigger build
skorfmann Sep 22, 2021
9e38493
Merge pull request #1060 from speedfl/bugfix/typo
ansgarm Sep 22, 2021
ea61a33
Lock exact version of prettier
skorfmann Sep 22, 2021
b584e8a
Run it in the same docker image as all th other buidls
skorfmann Sep 22, 2021
a4f6177
ifeat(docs): add hcl-cdk interoperability documentation
Sep 22, 2021
509d084
chore(docs): document when to use CDK for Terraform
danieldreier Sep 22, 2021
9cff4a0
Merge branch 'terraform-io-docs' into docs-project-setup-975
skorfmann Sep 22, 2021
251f6fc
autofix prettier
skorfmann Sep 22, 2021
39704ef
Revert "Run it in the same docker image as all th other buidls"
skorfmann Sep 22, 2021
c2706f8
Revert "Lock exact version of prettier"
skorfmann Sep 22, 2021
7eb78ca
Merge branch 'main' into fix-dependabot-config
skorfmann Sep 22, 2021
0b4abdc
Merge branch 'main' into fix-undefined-in-terraform-function-arrays
skorfmann Sep 22, 2021
ffb3e56
chore(docs): link docs to Pocket codebase, YouTube
danieldreier Sep 22, 2021
c6be652
Merge pull request #1057 from hashicorp/fix-dependabot-config
skorfmann Sep 22, 2021
ceb4b2f
Merge branch 'main' into prepare-release-0.6.3
DanielMSchmidt Sep 22, 2021
951fec5
chore: add latest merged PRs to changelog
ansgarm Sep 22, 2021
65aa271
Merge pull request #1059 from hashicorp/prepare-release-0.6.3
ansgarm Sep 22, 2021
a0fb247
Edits to What is CDKTF page
laurapacilio Sep 22, 2021
f5702bc
chore(lib): Fix release
skorfmann Sep 22, 2021
11e38b7
Updates to What is CDKTF and Interoperability page
laurapacilio Sep 22, 2021
0c56ebf
Merge pull request #1064 from hashicorp/skorfmann-patch-1
skorfmann Sep 22, 2021
d38fb5d
Merge branch 'main' into fix-undefined-in-terraform-function-arrays
skorfmann Sep 22, 2021
bcf088d
Merge pull request #1028 from hashicorp/fix-undefined-in-terraform-fu…
skorfmann Sep 22, 2021
8e3c4f6
Address PR feedback
laurapacilio Sep 22, 2021
d709cbd
Copyedit commands page
laurapacilio Sep 22, 2021
b500b8c
More fixes for commands page
laurapacilio Sep 22, 2021
012ce3e
Update CLI commands page
laurapacilio Sep 22, 2021
68a5f4d
chore(docs): improve community documentation
danieldreier Sep 22, 2021
fae4df7
chore(docs): remove roadmap link from README
danieldreier Sep 22, 2021
8e83c67
Merge pull request #1067 from hashicorp/danieldreier-docs-remove-roadmap
danieldreier Sep 22, 2021
4134605
Merge branch 'main' into module_source_parsing
skorfmann Sep 23, 2021
650b1f3
Update website/docs/cdktf/examples.html.md
danieldreier Sep 23, 2021
138eee7
Update website/docs/cdktf/examples.html.md
danieldreier Sep 23, 2021
5894648
Update website/docs/cdktf/examples.html.md
danieldreier Sep 23, 2021
dc60d70
Update website/docs/cdktf/examples.html.md
danieldreier Sep 23, 2021
5dc0a99
fix(docs): clarify CDK for Terraform
Sep 23, 2021
35df2f9
Merge pull request #1062 from hashicorp/danieldreier-examples-docs
danieldreier Sep 23, 2021
1f97a0b
feat(docs): add telemetry docs
Sep 23, 2021
b7154e9
Update website/docs/cdktf/cli-reference/commands.html.md
laurapacilio Sep 23, 2021
61a3033
Update website/docs/cdktf/concepts/interoperability-workflows.html.md
laurapacilio Sep 23, 2021
86d801f
Update website/docs/cdktf/index.html.md
laurapacilio Sep 23, 2021
9468fcc
Address PR comments
laurapacilio Sep 23, 2021
1e8e514
Add construcs explanation
laurapacilio Sep 23, 2021
4425cad
Update website/docs/cdktf/telemetry.html.md
danieldreier Sep 23, 2021
8c90968
Update website/docs/cdktf/telemetry.html.md
danieldreier Sep 23, 2021
6a7ad1e
Update website/docs/cdktf/telemetry.html.md
danieldreier Sep 23, 2021
f1f5bde
Update typescript examples
laurapacilio Sep 23, 2021
b82c5ce
chore(tests): Build with Terraform 1.0 (#1069)
skorfmann Sep 23, 2021
f5cdaf7
Merge branch 'main' into dependabot/npm_and_yarn/trim-newlines-3.0.1
skorfmann Sep 23, 2021
0db5768
Add backends table
laurapacilio Sep 23, 2021
2259bcf
Merge pull request #863 from hashicorp/dependabot/npm_and_yarn/trim-n…
skorfmann Sep 23, 2021
9a9ab62
Add python examples table
laurapacilio Sep 23, 2021
6d3a412
Add C Sharp examples table
laurapacilio Sep 23, 2021
b2e3027
Add go examples table
laurapacilio Sep 23, 2021
8c47f69
fix(lib): check for null on removing metadata in testing framework
bassrock Sep 24, 2021
8e812ce
Merge branch 'main' into terraform-io-docs
skorfmann Sep 24, 2021
1f57077
Merge branch 'terraform-io-docs' into docs-project-setup-975
skorfmann Sep 24, 2021
170114e
Merge conflict
skorfmann Sep 24, 2021
246a53f
fix: ignore build output in prettier
ansgarm Sep 24, 2021
9babdb9
Update docs
skorfmann Sep 24, 2021
f47690a
Merge pull request #1077 from hashicorp/fix-prettier-ignore
skorfmann Sep 24, 2021
df2314d
chore(docs): Terraform Outputs
skorfmann Sep 24, 2021
6869e4b
Merge branch 'main' into patch-1
skorfmann Sep 24, 2021
541f69d
Combine variables, locals, and outputs and add to nav
laurapacilio Sep 24, 2021
035aa01
Start defining Variables and Outputs page structure
laurapacilio Sep 24, 2021
62a065b
Remove extraneous text from top of page
laurapacilio Sep 24, 2021
7b65eda
Merge pull request #1080 from hashicorp/laura-edits-987
skorfmann Sep 27, 2021
fae06c5
Merge pull request #1075 from bassrock/patch-1
skorfmann Sep 27, 2021
2f8ebb2
Merge pull request #1071 from hashicorp/danieldreier-docs-telemetry
danieldreier Sep 27, 2021
f2ed092
edits to project setup file
schersh Sep 27, 2021
fffad69
Update website/docs/cdktf/community.html.md
danieldreier Sep 27, 2021
3db789d
Update website/docs/cdktf/community.html.md
danieldreier Sep 27, 2021
59def39
Update website/docs/cdktf/community.html.md
danieldreier Sep 27, 2021
40da2df
Update website/docs/cdktf/community.html.md
danieldreier Sep 27, 2021
1fb8877
Update website/docs/cdktf/community.html.md
danieldreier Sep 27, 2021
00f8674
Merge pull request #1066 from hashicorp/danieldreier-community-docs
danieldreier Sep 27, 2021
2ff30df
edits to cdktf json file
schersh Sep 27, 2021
e4d28d8
adds prettier formatting
schersh Sep 28, 2021
2162418
suggestions from pr review
schersh Sep 28, 2021
1904e17
Update website/docs/cdktf/create-and-deploy/project-setup.html.md
schersh Sep 28, 2021
36b8866
Update website/docs/cdktf/create-and-deploy/project-setup.html.md
schersh Sep 28, 2021
02f05ee
Update website/docs/cdktf/create-and-deploy/project-setup.html.md
schersh Sep 28, 2021
e3b66cd
Update website/docs/cdktf/create-and-deploy/project-setup.html.md
schersh Sep 28, 2021
9899858
updates suggestions from pr review
schersh Sep 28, 2021
7809f5f
Updates to providers and data sources pages
laurapacilio Sep 28, 2021
a55ff2a
Update page description for data sources page
laurapacilio Sep 28, 2021
e870f63
Combine Resources and Providers pages
laurapacilio Sep 28, 2021
cf355b9
Update language on page
laurapacilio Sep 28, 2021
43b0b4c
Merge pull request #1085 from hashicorp/sm/975-edit
skorfmann Sep 29, 2021
d1e683a
Merge branch 'main' into terraform-io-docs
skorfmann Sep 29, 2021
5a81402
Merge branch 'terraform-io-docs' into docs-project-setup-975
skorfmann Sep 29, 2021
28f7b2e
Better naming
skorfmann Sep 29, 2021
c2e5bcf
Rename workflow
skorfmann Sep 29, 2021
0e399aa
Merge pull request #1056 from hashicorp/docs-project-setup-975
skorfmann Sep 29, 2021
2d1aab7
Merge branch 'terraform-io-docs' into docs-outputs-987
skorfmann Sep 29, 2021
2592844
Update website/docs/cdktf/concepts/fundamentals/providers.html.md
laurapacilio Sep 29, 2021
8554127
Update website/docs/cdktf/concepts/fundamentals/providers.html.md
laurapacilio Sep 29, 2021
e379848
Update website/docs/cdktf/concepts/fundamentals/providers.html.md
laurapacilio Sep 29, 2021
fefdcd3
Update website/docs/cdktf/concepts/fundamentals/providers.html.md
laurapacilio Sep 29, 2021
e5a2b0c
Update remote backends and stacks pages
laurapacilio Sep 29, 2021
3c1aee0
More updates to remote backends page
laurapacilio Sep 29, 2021
41c1d48
Updates to Remote Backends page
laurapacilio Sep 29, 2021
591d639
fix(cli): create .cdktf folder if needed
jsteinich Sep 30, 2021
ef2c375
Merge pull request #1107 from jsteinich/fix_cdktf_checkpoint_folder
ansgarm Sep 30, 2021
74b8fc8
Merge branch 'main' into terraform-io-docs
skorfmann Sep 30, 2021
f96866d
chore(tests): Ignore website changes for test workflows
skorfmann Sep 30, 2021
0f8d8cd
Merge pull request #1109 from hashicorp/adjust-workflows
skorfmann Sep 30, 2021
8d6cd9e
Merge branch 'terraform-io-docs' into docs-outputs-987
skorfmann Sep 30, 2021
932ecce
chore(docs): Autofix prettier
skorfmann Sep 30, 2021
b168edd
Merge pull request #1110 from hashicorp/fix-linter
skorfmann Sep 30, 2021
35f903b
Merge branch 'terraform-io-docs' into docs-outputs-987
skorfmann Sep 30, 2021
f51e5d8
Merge branch 'terraform-io-docs' into laura-merge-providers-resources
skorfmann Sep 30, 2021
b8b2a39
Merge branch 'terraform-io-docs' into laura-add-descriptions-examples
skorfmann Sep 30, 2021
065d8df
autofix prettier
skorfmann Sep 30, 2021
7856730
Merge branch 'main' into module_source_parsing
skorfmann Sep 30, 2021
06dd4a3
Address PR comments, tiny copyedits
laurapacilio Sep 30, 2021
3a31a78
add link to cdktf-json file
schersh Sep 30, 2021
3db16b1
Incorporate edits from Daniel into main PR
laurapacilio Sep 30, 2021
5a58d7e
Add and copyedit unit tests page
laurapacilio Sep 30, 2021
f16d9e5
Add watch help output and example explanation
laurapacilio Sep 30, 2021
545095c
Finishing touches
laurapacilio Sep 30, 2021
af35976
updates cli configuration doc
schersh Sep 30, 2021
543026d
Merge branch 'terraform-io-docs' into laura-review-whatiscdkf
schersh Sep 30, 2021
f8ac41f
fix prettier errors
schersh Sep 30, 2021
6b46419
Merge pull request #1065 from hashicorp/laura-review-whatiscdkf
schersh Sep 30, 2021
d1ac7d9
Merge pull request #1111 from hashicorp/sm/update-config-doc
schersh Sep 30, 2021
d0d912f
Merge pull request #929 from jsteinich/module_source_parsing
skorfmann Oct 1, 2021
a4b0133
fix(cli): use resolutions to resolve to older version of cli-spinners…
ansgarm Oct 4, 2021
f2d84f1
fix: trying to fix integration tests (temporary fix)
ansgarm Oct 4, 2021
d9c23d1
fix(cli): directly depend on cli-spinners v2.6.0 to prevent #1113
ansgarm Oct 4, 2021
a1c1ba2
tests(hcl2cdk): disable test case which depends on currently broken c…
ansgarm Oct 4, 2021
d37a38a
Merge pull request #1116 from hashicorp/fix-cli-spinners-version
ansgarm Oct 4, 2021
5e6b6ea
chore(release): Prepare release 0.6.4
DanielMSchmidt Oct 4, 2021
25ebc26
Merge pull request #1117 from hashicorp/prepare-release-0.6.4
DanielMSchmidt Oct 4, 2021
b7160f6
feat(cli): namespace aws provider
DanielMSchmidt Sep 29, 2021
5bf105c
refactor(cli): extract provider generation logic into subpackage
DanielMSchmidt Oct 1, 2021
85e3c2e
feat(hcl2cdk): account for namespaced resources
DanielMSchmidt Oct 1, 2021
09d7650
chore(docs): document breaking changes
DanielMSchmidt Oct 1, 2021
5397ed4
fix(hcl2cdk): remove circular dependency
DanielMSchmidt Oct 4, 2021
4f8a372
chore(deps): use 0.0.0 instead of * for internal dependencies
DanielMSchmidt Oct 4, 2021
a97ab57
chore(provider-generator): remove TODO
DanielMSchmidt Oct 4, 2021
db7ec31
refactor(provider-generator): don't rely on object ordering, sort it …
DanielMSchmidt Oct 4, 2021
685c6f1
test(provider-generator): update test snapshots
DanielMSchmidt Oct 4, 2021
2029e4b
Merge pull request #1101 from hashicorp/submodules-for-aws-provider
DanielMSchmidt Oct 4, 2021
7d511f3
Merge pull request #1092 from hashicorp/laura-merge-providers-resources
laurapacilio Oct 4, 2021
a614c09
Edits to prep for hashiConf
laurapacilio Oct 4, 2021
e4978a0
More edits for hashiConf
laurapacilio Oct 4, 2021
760592e
Remote Templates edits
laurapacilio Oct 4, 2021
bf95244
Delete pages not for HashiConf, tiny edits to CLI Configuration page
laurapacilio Oct 4, 2021
e32c8ca
Rename cli configuration page so it's not confused with the cdktf.jso…
laurapacilio Oct 4, 2021
827140d
rename hcl interoperability page to match its title
laurapacilio Oct 4, 2021
6e27ac5
rename providers and resources page to match title
laurapacilio Oct 4, 2021
694760f
Take out token page todos
laurapacilio Oct 4, 2021
bdc1130
Take out Stacks TODO
laurapacilio Oct 4, 2021
b7835cd
Updates for HashiConf content
laurapacilio Oct 4, 2021
38077b7
Removing files that we won't do for HashiConf
laurapacilio Oct 4, 2021
11b4575
all modules using module bindings
jsteinich Aug 29, 2021
28a39bf
update tests
jsteinich Aug 29, 2021
67a2002
work on fixing tests
jsteinich Oct 3, 2021
8faaad4
more post-merge fixes
jsteinich Oct 5, 2021
6fc58dc
fix(tests): quote lerna scope to prevent shell expansion
jsteinich Oct 5, 2021
a5a0cf8
Merge pull request #1120 from jsteinich/convert_module_binding_2
DanielMSchmidt Oct 5, 2021
1573b2d
Merge branch 'main' into lerna_scope_escape
ansgarm Oct 5, 2021
052d7a3
Merge pull request #1121 from jsteinich/lerna_scope_escape
ansgarm Oct 5, 2021
6974770
Merge branch 'main' into terraform-io-docs
skorfmann Oct 5, 2021
88698ab
Merge branch 'terraform-io-docs' into docs-outputs-987
skorfmann Oct 5, 2021
ce7f90d
Address todos
skorfmann Oct 5, 2021
95dfbab
dedupe modules
jsteinich Sep 16, 2021
5ffcf6d
start adding a test case
jsteinich Sep 16, 2021
8e56f4c
update snapshot
jsteinich Sep 16, 2021
9fdde91
Merge pull request #1078 from hashicorp/docs-outputs-987
skorfmann Oct 6, 2021
653ed71
chore(docs): Address todos
skorfmann Oct 6, 2021
29d2020
Add note about not duplicating providers and make other copyedits
laurapacilio Oct 6, 2021
c12b0c7
Edits to assets, readme, and cli-reference pages
laurapacilio Oct 6, 2021
e320342
Update data sources page
laurapacilio Oct 6, 2021
e6cbc7e
Updates to functions page
laurapacilio Oct 6, 2021
e43ed59
edit modules page and move Outputs info to variables and outputs page
laurapacilio Oct 6, 2021
c235552
changes to remote backends file
laurapacilio Oct 6, 2021
f808749
Updates to the configuration file
laurapacilio Oct 6, 2021
c2f6833
updates to remote templates page
laurapacilio Oct 6, 2021
a9d3870
fix prettier errors
schersh Oct 6, 2021
5c94f1f
updates to variables and outputs page
laurapacilio Oct 6, 2021
43792db
Update website/docs/cdktf/concepts/providers-and-resources.html.md
laurapacilio Oct 7, 2021
b15ec9c
fix(docs): fix example for integration test
ansgarm Oct 7, 2021
0bded42
Merge pull request #1127 from hashicorp/laura-add-provider-note
skorfmann Oct 7, 2021
9c9b556
Merge pull request #1128 from hashicorp/laura-docs-todos-edits
skorfmann Oct 7, 2021
5f0190d
Merge pull request #1129 from hashicorp/fix-docs-test-example
skorfmann Oct 7, 2021
04ab89d
Merge pull request #1025 from jsteinich/convert_duplicate_modules
skorfmann Oct 7, 2021
724a21e
Merge branch 'main' into terraform-io-docs
skorfmann Oct 7, 2021
c9a10a9
Merge branch 'terraform-io-docs' into docs-todos
skorfmann Oct 7, 2021
93d9701
prettier autofix
skorfmann Oct 7, 2021
3b8e5c6
Update website/docs/cdktf/examples.html.md
laurapacilio Oct 7, 2021
c53d517
Update website/docs/cdktf/examples.html.md
laurapacilio Oct 7, 2021
04b19e2
Update website/docs/cdktf/examples.html.md
laurapacilio Oct 7, 2021
2940857
Update website/docs/cdktf/examples.html.md
laurapacilio Oct 7, 2021
9f20e69
Update website/docs/cdktf/examples.html.md
laurapacilio Oct 7, 2021
115862b
Update website/docs/cdktf/examples.html.md
laurapacilio Oct 7, 2021
5a83554
Update website/docs/cdktf/examples.html.md
laurapacilio Oct 7, 2021
d51262d
Update website/docs/cdktf/examples.html.md
laurapacilio Oct 7, 2021
0802b27
Update website/docs/cdktf/examples.html.md
laurapacilio Oct 7, 2021
f532df0
Updates to examples descriptions
laurapacilio Oct 7, 2021
7b3e59d
Merge pull request #1073 from hashicorp/laura-add-descriptions-examples
laurapacilio Oct 7, 2021
0866e66
Update website/docs/cdktf/concepts/functions.html.md
skorfmann Oct 8, 2021
f3b67b5
Update website/docs/cdktf/concepts/remote-backends.html.md
skorfmann Oct 8, 2021
21c65f6
Update website/docs/cdktf/concepts/variables-and-outputs.html.md
skorfmann Oct 8, 2021
b612018
Update website/docs/cdktf/concepts/assets.html.md
skorfmann Oct 8, 2021
3bdf7ee
Address todos
skorfmann Oct 8, 2021
6d17059
Clarify remote state
skorfmann Oct 8, 2021
69ba189
Update website/docs/cdktf/concepts/remote-backends.html.md
skorfmann Oct 11, 2021
52e1020
prettier auto fix
skorfmann Oct 11, 2021
30c4614
prettier auto fix
skorfmann Oct 11, 2021
4c6d9c4
Merge branch 'terraform-io-docs' into docs-todos
skorfmann Oct 11, 2021
5dd849a
Merge pull request #1126 from hashicorp/docs-todos
skorfmann Oct 11, 2021
c60d881
Merge branch 'terraform-io-docs' into sh/merge-docs-to-stable-website
schersh Oct 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/.dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ updates:
directory: /
schedule:
interval: weekly
commit_message:
prefix: "chore"
include_scope: true
ignore:
- dependency-name: jsii
- dependency-name: "@jsii/*"
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,34 @@ on:
paths-ignore:
- "**.md"
- "docs/**"
- "website/**"

jobs:
build-docker-image:
if: github.repository == 'hashicorp/terraform-cdk'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('/Dockerfile') }}
key: ${{ runner.os }}-buildx-${{ hashFiles('/Dockerfile', '.terraform.versions.json') }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: tf-versions
run: |
DEFAULT_TERRAFORM_VERSION=$(cat .terraform.versions.json | jq -r '.default')
AVAILABLE_TERRAFORM_VERSIONS=$(cat .terraform.versions.json | jq -r '.available | join(" ")')
echo "::set-output name=default::$DEFAULT_TERRAFORM_VERSION"
echo "::set-output name=available::$AVAILABLE_TERRAFORM_VERSIONS"
- name: Build and push
uses: docker/build-push-action@v2
with:
Expand All @@ -34,3 +42,6 @@ jobs:
tags: hashicorp/jsii-terraform:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
build-args: |
DEFAULT_TERRAFORM_VERSION=${{ steps.tf-versions.outputs.default }}
AVAILABLE_TERRAFORM_VERSIONS=${{ steps.tf-versions.outputs.available }}
30 changes: 20 additions & 10 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,32 @@ on:
paths-ignore:
- "**.md"
- "docs/**"
- "website/**"

jobs:
build:
build-example-matrix:
runs-on: ubuntu-latest
outputs:
examples: ${{ steps.set-examples.outputs.examples }}
steps:
- name: Checkout
uses: actions/checkout@v2
- id: set-examples
run: |
tfDefault=$(cat .terraform.versions.json | jq -r '.default')
examples=$(npx lerna list --scope "@examples/*" | jq -R -s -c --arg tfDefault "${tfDefault}" 'split("\n") | map(select(length > 0)) | { target: values, terraform: [$tfDefault]}')
echo $examples
echo "::set-output name=examples::$examples"

examples:
needs: build-example-matrix
runs-on: ubuntu-latest
strategy:
matrix:
terraform: ["0.15.4"]
target: ["python", "csharp", "java", "typescript", "go"]
fail-fast: false
matrix: ${{fromJSON(needs.build-example-matrix.outputs.examples)}}
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
env:
TF_PLUGIN_CACHE_DIR: "/root/.terraform.d/plugin-cache"
CHECKPOINT_DISABLE: "1"
steps:
- uses: actions/checkout@v2
Expand All @@ -29,12 +43,8 @@ jobs:
TERRAFORM_BINARY_NAME: "terraform${{ matrix.terraform }}"
- name: create bundle
run: yarn package
- name: bootstrap plugin cache
run: yum install -y jq && yarn bootstrap-plugin-cache
env:
TERRAFORM_BINARY_NAME: "terraform${{ matrix.terraform }}"
- name: examples integration tests
run: yarn examples:integration:${TEST_TARGET}
run: test/run-against-dist tools/build-examples.sh ${TEST_TARGET}
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
TEST_TARGET: "${{ matrix.target }}"
Expand Down
77 changes: 25 additions & 52 deletions .github/workflows/build.yml → .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Build
name: Integration Tests
on:
pull_request:
paths-ignore:
- "**.md"
- "docs/**"
- "website/**"

jobs:
build:
prepare-integration-tests:
runs-on: ubuntu-latest
strategy:
matrix:
terraform: ["0.14.11", "0.15.4"]
outputs:
tests: ${{ steps.build-test-matrix.outputs.tests }}
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
env:
Expand All @@ -28,91 +28,64 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: installing dependencies
- name: installing dependencies and build
run: |
yarn install
- name: compile
run: |
tools/align-version.sh
yarn build
env:
TERRAFORM_BINARY_NAME: "terraform${{ matrix.terraform }}"
- name: test
run: |
yarn test
env:
TERRAFORM_BINARY_NAME: "terraform${{ matrix.terraform }}"
- name: create bundle
run: yarn package
yarn package
- name: Upload dist
if: ${{ matrix.terraform == '0.14.11' }}
uses: actions/upload-artifact@v2
with:
name: dist
path: dist
- name: installing test dependencies
run: |
cd test && yarn install
- id: build-test-matrix
run: |
./tools/build-test-matrix.sh

linux_integration:
needs: prepare-integration-tests
runs-on: ubuntu-latest
strategy:
matrix:
terraform: ["0.14.11", "0.15.4"]
target: ["typescript", "python", "java", "csharp", "go"]
fail-fast: false
matrix: ${{fromJSON(needs.prepare-integration-tests.outputs.tests)}}
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
needs: build
env:
CHECKPOINT_DISABLE: "1"
TERRAFORM_VERSION: ${{ matrix.terraform }}

steps:
- uses: actions/checkout@v2
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Download dist
uses: actions/download-artifact@v2
with:
name: dist
path: dist
- name: installing dependencies
run: yarn install
- name: install test dependencies
run: cd test && yarn
- name: integration tests
run: yarn integration:${TEST_TARGET}
run: cd test && ./run-against-dist npx jest ${TEST_TARGET}
env:
TEST_TARGET: ${{ matrix.target }}
TERRAFORM_CLOUD_TOKEN: ${{ secrets.TERRAFORM_CLOUD_TOKEN }}
TERRAFORM_BINARY_NAME: "terraform${{ matrix.terraform }}"

windows_integration:
needs: prepare-integration-tests
runs-on: windows-latest
strategy:
matrix:
terraform: ["0.14.11", "0.15.4"]
target: ["typescript", "python", "java", "csharp", "go"]
needs: build
fail-fast: false
matrix: ${{fromJSON(needs.prepare-integration-tests.outputs.tests)}}
env:
CHECKPOINT_DISABLE: "1"
TERRAFORM_VERSION: ${{ matrix.terraform }}

steps:
- uses: actions/checkout@v2
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: HashiCorp - Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
Expand All @@ -129,10 +102,10 @@ jobs:
with:
name: dist
path: dist
- name: installing dependencies
run: yarn install
- name: install test dependencies
run: cd test && yarn
- name: integration tests
run: yarn integration:windows:${env:TEST_TARGET}
run: cd test && ./run-against-dist.bat "npx jest ${env:TEST_TARGET}"
env:
TEST_TARGET: ${{ matrix.target }}
TERRAFORM_CLOUD_TOKEN: ${{ secrets.TERRAFORM_CLOUD_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
cli
hcl2json
hcl2cdk
provider-generator
tests
examples
readme
Expand Down
78 changes: 68 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ on:
paths-ignore:
- "**.md"
- "docs/**"
- "website/**"

jobs:
build_artifact:
prepare-release:
if: github.repository == 'hashicorp/terraform-cdk'
runs-on: ubuntu-latest
outputs:
tests: ${{ steps.build-test-matrix.outputs.tests }}
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
env:
Expand All @@ -30,23 +33,70 @@ jobs:
yarn test
- name: create bundle
run: yarn package
- name: integration tests
run: yarn integration
env:
TERRAFORM_CLOUD_TOKEN: ${{ secrets.TERRAFORM_CLOUD_TOKEN }}
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: dist
path: dist
- name: installing test dependencies
run: |
cd test && yarn install
- id: build-test-matrix
run: |
./tools/build-test-matrix.sh

integration-tests:
needs: prepare-release
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJSON(needs.prepare-release.outputs.tests)}}
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
env:
CHECKPOINT_DISABLE: "1"
steps:
- uses: actions/checkout@v2
- name: Download dist
uses: actions/download-artifact@v2
with:
name: dist
path: dist
- name: install test dependencies
run: cd test && yarn
- name: integration tests
run: cd test && ./run-against-dist npx jest ${TEST_TARGET}
env:
TEST_TARGET: ${{ matrix.target }}
TERRAFORM_CLOUD_TOKEN: ${{ secrets.TERRAFORM_CLOUD_TOKEN }}

release_github:
name: Release to Github
needs:
- prepare-release
- integration-tests
runs-on: ubuntu-latest
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
steps:
- uses: actions/checkout@v2
- name: installing dependencies
run: |
yarn install
- name: Download build artifacts
uses: actions/download-artifact@v1
with:
name: dist
- name: Release to github
run: yarn release-github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release_npm:
name: Release to Github Packages NPM regitry
needs: build_artifact
needs:
- prepare-release
- integration-tests
runs-on: ubuntu-latest
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
Expand All @@ -62,7 +112,9 @@ jobs:

release_pypi:
name: Release to PyPi
needs: build_artifact
needs:
- prepare-release
- integration-tests
runs-on: ubuntu-latest
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
Expand All @@ -79,7 +131,9 @@ jobs:

release_maven:
name: Release to Maven
needs: build_artifact
needs:
- prepare-release
- integration-tests
runs-on: ubuntu-latest
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
Expand All @@ -100,7 +154,9 @@ jobs:

release_nuget:
name: Release to NuGet
needs: build_artifact
needs:
- prepare-release
- integration-tests
runs-on: ubuntu-latest
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
Expand All @@ -117,7 +173,9 @@ jobs:

release_golang:
name: Release Go to Github Repo
needs: build_artifact
needs:
- prepare-release
- integration-tests
runs-on: ubuntu-latest
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
Expand Down
Loading