{"id":30311018,"url":"https://github.com/rosesecurity/go-localstack","last_synced_at":"2025-08-17T15:05:32.325Z","repository":{"id":309472441,"uuid":"971574068","full_name":"RoseSecurity/go-localstack","owner":"RoseSecurity","description":"Go client for managing LocalStack in testing environments","archived":false,"fork":false,"pushed_at":"2025-08-15T16:18:38.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-15T17:41:38.513Z","etag":null,"topics":["aws","infrastructure","opentofu","terraform","testing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RoseSecurity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":"FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"rosesecurity"}},"created_at":"2025-04-23T18:18:16.000Z","updated_at":"2025-08-15T16:18:24.000Z","dependencies_parsed_at":"2025-08-15T17:41:39.498Z","dependency_job_id":null,"html_url":"https://github.com/RoseSecurity/go-localstack","commit_stats":null,"previous_names":["the-infra-company/localstack-helpers","rosesecurity/go-localstack"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/RoseSecurity/go-localstack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoseSecurity%2Fgo-localstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoseSecurity%2Fgo-localstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoseSecurity%2Fgo-localstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoseSecurity%2Fgo-localstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoseSecurity","download_url":"https://codeload.github.com/RoseSecurity/go-localstack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoseSecurity%2Fgo-localstack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270863265,"owners_count":24658753,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws","infrastructure","opentofu","terraform","testing"],"created_at":"2025-08-17T15:05:27.133Z","updated_at":"2025-08-17T15:05:32.289Z","avatar_url":"https://github.com/RoseSecurity.png","language":"Go","funding_links":["https://github.com/sponsors/rosesecurity"],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"1228\" height=\"203\" alt=\"Screenshot_2025-08-11_at_11 48 02_PM-removebg-preview\" src=\"https://github.com/user-attachments/assets/5bcfafe2-f2b9-467a-b45e-98c12f3c7db8\" /\u003e\n\nGo client for managing LocalStack in testing environments.\n\n## Example\n\n```go\npackage test\n\nimport (\n\t\"context\"\n\t\"testing\"\n\n\t\"github.com/RoseSecurity/go-localstack/localstack\"\n\t\"github.com/docker/docker/client\"\n\t\"github.com/gruntwork-io/terratest/modules/terraform\"\n\t\"github.com/stretchr/testify/assert\"\n)\n\nfunc TestTerraformWithLocalStack(t *testing.T) {\n\tt.Parallel()\n\n\tctx := context.Background()\n\n    // Create a Docker client\n\tcli, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())\n\tassert.NoError(t, err)\n\tdefer func() { _ = cli.Close() }()\n\n    // Start LocalStack\n\trunner, err := localstack.NewRunner(cli)\n\tassert.NoError(t, err)\n\n\tcontainerID, err := runner.Start(ctx)\n\tassert.NoError(t, err)\n\tassert.NotEmpty(t, containerID)\n\n    // Run Terratests\n\ttfOptions := \u0026terraform.Options{\n\t\tTerraformDir: \"../../examples/complete\",\n\t\tUpgrade:      true,\n\t\tVarFiles:     []string{\"fixtures.us-east-2.tfvars\"},\n\t}\n\n\tdefer terraform.Destroy(t, tfOptions)\n\tterraform.InitAndApply(t, tfOptions)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosesecurity%2Fgo-localstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosesecurity%2Fgo-localstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosesecurity%2Fgo-localstack/lists"}