{"id":15779761,"url":"https://github.com/rgl/go-aws-route53-usage-example","last_synced_at":"2025-03-31T15:54:30.814Z","repository":{"id":236264242,"uuid":"792257690","full_name":"rgl/go-aws-route53-usage-example","owner":"rgl","description":"This is an example Go application that lists all the DNS Zones hosted in AWS Route 53","archived":false,"fork":false,"pushed_at":"2024-04-26T09:47:02.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T11:06:02.514Z","etag":null,"topics":["aws-route53","example","go"],"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/rgl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-26T09:46:52.000Z","updated_at":"2024-04-26T09:47:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"442e3246-af01-4d84-bc32-31e83c61b93e","html_url":"https://github.com/rgl/go-aws-route53-usage-example","commit_stats":null,"previous_names":["rgl/go-aws-route53-usage-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fgo-aws-route53-usage-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fgo-aws-route53-usage-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fgo-aws-route53-usage-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fgo-aws-route53-usage-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgl","download_url":"https://codeload.github.com/rgl/go-aws-route53-usage-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246492268,"owners_count":20786336,"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":["aws-route53","example","go"],"created_at":"2024-10-04T18:21:24.726Z","updated_at":"2025-03-31T15:54:30.795Z","avatar_url":"https://github.com/rgl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nThis is an example Go application that lists all the DNS Zones hosted in [AWS Route 53](https://aws.amazon.com/route53/).\n\n# Usage (on a Ubuntu Desktop)\n\nInstall the dependencies:\n\n* [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html).\n* [Go](https://go.dev/dl/).\n\nSet the AWS Account credentials using SSO:\n\n```bash\n# set the environment variables to use a specific profile.\n# e.g. use the pattern \u003caws-sso-session-name\u003e-\u003caws-account-name\u003e-\u003caws-account-role\u003e-\u003caws-account-id\u003e\nexport AWS_PROFILE=example-dev-AdministratorAccess-123456\nunset AWS_ACCESS_KEY_ID\nunset AWS_SECRET_ACCESS_KEY\nunset AWS_DEFAULT_REGION\n# set the account credentials.\n# see https://docs.aws.amazon.com/cli/latest/userguide/sso-configure-profile-token.html#sso-configure-profile-token-auto-sso\naws configure sso\n# dump the configured profile and sso-session.\ncat ~/.aws/config\n# show the user, user amazon resource name (arn), and the account id, of the\n# profile set in the AWS_PROFILE environment variable.\naws sts get-caller-identity\n```\n\nOr, set the AWS Account credentials using an Access Key:\n\n```bash\n# set the account credentials.\n# NB get these from your aws account iam console.\n#    see Managing access keys (console) at\n#        https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey\nexport AWS_ACCESS_KEY_ID='TODO'\nexport AWS_SECRET_ACCESS_KEY='TODO'\nunset AWS_PROFILE\n# set the default region.\nexport AWS_DEFAULT_REGION='eu-west-1'\n# show the user, user amazon resource name (arn), and the account id.\naws sts get-caller-identity\n```\n\nBuild:\n\n```bash\ngo build\n```\n\nUse:\n\n```bash\n./go-aws-route53-usage-example\n```\n\nYou should see something like:\n\n```\nzone=abc.example.com. nameservers=ns-1529.awsdns-63.org,ns-773.awsdns-32.net,ns-1797.awsdns-32.co.uk,ns-48.awsdns-06.com\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fgo-aws-route53-usage-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgl%2Fgo-aws-route53-usage-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fgo-aws-route53-usage-example/lists"}