{"id":20657767,"url":"https://github.com/boltops-tools/rspec-terraspace","last_synced_at":"2025-04-19T13:18:36.873Z","repository":{"id":45230032,"uuid":"265634690","full_name":"boltops-tools/rspec-terraspace","owner":"boltops-tools","description":"Terraspace RSpec support","archived":false,"fork":false,"pushed_at":"2023-06-21T16:01:51.000Z","size":68,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-01T11:29:04.154Z","etag":null,"topics":["boltops","terraform","terraspace"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/boltops-tools.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-20T17:11:25.000Z","updated_at":"2023-06-21T19:40:55.000Z","dependencies_parsed_at":"2022-09-05T17:52:05.746Z","dependency_job_id":null,"html_url":"https://github.com/boltops-tools/rspec-terraspace","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boltops-tools%2Frspec-terraspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boltops-tools%2Frspec-terraspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boltops-tools%2Frspec-terraspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boltops-tools%2Frspec-terraspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boltops-tools","download_url":"https://codeload.github.com/boltops-tools/rspec-terraspace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224954293,"owners_count":17397843,"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":["boltops","terraform","terraspace"],"created_at":"2024-11-16T18:23:03.060Z","updated_at":"2024-11-16T18:23:03.772Z","avatar_url":"https://github.com/boltops-tools.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rspec-terraspace\n\n[![BoltOps Badge](https://img.boltops.com/boltops/badges/boltops-badge.png)](https://www.boltops.com)\n\nTerraspec rspec helper methods. The usual testing process is:\n\n1. Build a test harness. The test harness is a generated terraspace project with the specified modules and stacks.\n2. Runs a `terraspace up` (`terraform apply`) to create real resources.\n3. Check the resources. In this case, it simply checks for the terraform output.\n4. Runs a `terraspace down` (`terraform destroy`) to clean up the real resources.\n\n## Test harness location\n\nWhere is the generated test harness located?\n\nThe test hardness is materialized in `/tmp/terraspace/test-harnesses/NAME` by default. The build root can be controlled with `TS_RSPEC_BUILD_ROOT` env var.\n\nSo if you set it: `export TS_RSPEC_BUILD_ROOT=~/environment/terraspace-test-harnesses`. It will be built at `~/environment/terraspace-test-harnesses/NAME` instead.\n\n## Module-Level and Project-Level Tests\n\nThe test helpers support both module-level and project-level tests. See:\n\n* [Terraspace Testing](https://terraspace.cloud/docs/testing/)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'rspec-terraspace'\n```\n\nAnd then execute:\n\n    $ bundle install\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboltops-tools%2Frspec-terraspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboltops-tools%2Frspec-terraspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboltops-tools%2Frspec-terraspace/lists"}