This repository was archived by the owner on Apr 18, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 18
18
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19
19
# IN THE SOFTWARE.
20
20
21
- language : node_js
22
21
sudo : false
23
22
24
- # Node.js version
25
- node_js : 8
26
-
27
23
# Limit clone depth to 5, to speed up build
28
24
git :
29
25
depth : 5
30
26
31
- # Build script
27
+ # Install Terraform
28
+ install :
29
+ - curl -fSL "https://releases.hashicorp.com/terraform/0.11.11/terraform_0.11.11_linux_amd64.zip" -o terraform.zip
30
+ - sudo unzip terraform.zip -d /opt/terraform
31
+ - sudo ln -s /opt/terraform/terraform /usr/bin/terraform
32
+ - rm -f terraform.zip
33
+
34
+ # Perform Terraform validation
32
35
script :
33
- - terraform fmt -check -diff
36
+ - terraform validate -check-variables=false
Original file line number Diff line number Diff line change 11
11
[ github-image ] : https://img.shields.io/github/release/squidfunk/terraform-aws-github-ci.svg
12
12
[ github-link ] : https://github.com/squidfunk/terraform-aws-github-ci/releases
13
13
14
- # [ DEPRECATED ] Terraform AWS GitHub CI
14
+ # Terraform AWS GitHub CI
15
15
16
16
> This project has been deprecated, as AWS CodeBuild now natively supports
17
17
> automatic builds on new commits and reports status back to GitHub. However,
You can’t perform that action at this time.
0 commit comments