{"id":21702645,"url":"https://github.com/alpine-docker/bundle-terraform-awspec","last_synced_at":"2026-04-12T01:32:02.636Z","repository":{"id":149611197,"uuid":"138465386","full_name":"alpine-docker/bundle-terraform-awspec","owner":"alpine-docker","description":"This is a special version to build a docker image to run awspec test for terraform projects.","archived":false,"fork":false,"pushed_at":"2019-08-08T06:42:46.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T15:27:49.658Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alpine-docker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-24T08:20:40.000Z","updated_at":"2020-04-21T22:41:09.000Z","dependencies_parsed_at":"2023-04-25T11:32:16.238Z","dependency_job_id":null,"html_url":"https://github.com/alpine-docker/bundle-terraform-awspec","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpine-docker%2Fbundle-terraform-awspec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpine-docker%2Fbundle-terraform-awspec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpine-docker%2Fbundle-terraform-awspec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpine-docker%2Fbundle-terraform-awspec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alpine-docker","download_url":"https://codeload.github.com/alpine-docker/bundle-terraform-awspec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244649446,"owners_count":20487428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T21:17:05.718Z","updated_at":"2026-04-12T01:32:02.596Z","avatar_url":"https://github.com/alpine-docker.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform awspec docker image\n\nThis is a special version to build a docker image for terraform [awspec](https://github.com/k1LoW/awspec) testing.\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [Dockerfile](#dockerfile)\n- [Public image](#public-image)\n- [build local image](#build-local-image)\n- [Installed tools](#installed-tools)\n- [Usage](#usage)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n# Dockerfile\n\nhttps://github.com/alpine-docker/bundle-terraform-awspec/blob/master/Dockerfile\n\n# Public image\n\nhttps://hub.docker.com/r/alpine/bundle-terraform-awspec/tags/\n\n# build local image\n\n    docker buld -t terraform-awspec .\n\n# Installed tools\n```\nruby v2.4.2\ngem bundler\ngem awspec\ngem kitchen-terraform\ngme kitchen-verifier-awspec\nterraform v0.11.7\nkubectl\nheptio authorizer v0.3.0\n```\n# Usage\n\nUse repo [terraform-aws-modules/terraform-aws-eks](https://github.com/terraform-aws-modules/terraform-aws-eks.git) as sample.\n\n    # git clone https://github.com/terraform-aws-modules/terraform-aws-eks.git\n    $ cd terraform-aws-eks\n    # Mount the local folder to /apps in container.\n    # Share aws credentials into containers (or by environment variables, such as AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY_ID, and AWS_SESSION_TOKEN\n    $ docker run -ti -v $(pwd):/apps -v ~/.aws:/root/.aws alpine/bundle-terraform-awspec:1.0 bash\n    $ bundle install\n    $ bundle exec kitchen create\n    $ bundle exec kitchen converge\n    $ bundle exec kitchen setup\n    $ bundle exec kitchen verify\n    $ bundle exec kitchen destroy\n\n    # Above bundle commands can be combined with one command\n    $ bundle exec kitchen test\n\n    # run bundle container as command\n    alias bundle=\"docker run -ti --rm -v $(pwd):/apps alpine/bundle-terraform-awspec:1.0 bundle \"\n    bundle --help\n\nIf you need test with other terraform versions, download specified terraform version from [Linux 64-bit](https://www.terraform.io/downloads.html), give execute permission (`chmod +x \u003cpath\u003e/terraform`), run below command:\n\n    docker run -ti -v $(pwd):/apps -v ~/.aws:/root/.aws -v \u003cpath\u003e/terraform:/usr/bin/terraform alpine/bundle-terraform-awspec:1.0 bash\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falpine-docker%2Fbundle-terraform-awspec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falpine-docker%2Fbundle-terraform-awspec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falpine-docker%2Fbundle-terraform-awspec/lists"}