{"id":19208645,"url":"https://github.com/heiwa4126/pulumi-quickstart2","last_synced_at":"2026-05-04T17:36:50.834Z","repository":{"id":111910397,"uuid":"510635177","full_name":"heiwa4126/pulumi-quickstart2","owner":"heiwa4126","description":"Get Started with AWS | Pulumi を見て作った 2番めののプロジェクト","archived":false,"fork":false,"pushed_at":"2022-07-05T09:39:15.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T07:16:33.897Z","etag":null,"topics":["example","pulumi","pulumi-aws","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/heiwa4126.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":"2022-07-05T07:40:43.000Z","updated_at":"2022-07-05T07:41:51.000Z","dependencies_parsed_at":"2023-04-18T06:47:55.431Z","dependency_job_id":null,"html_url":"https://github.com/heiwa4126/pulumi-quickstart2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/heiwa4126/pulumi-quickstart2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiwa4126%2Fpulumi-quickstart2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiwa4126%2Fpulumi-quickstart2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiwa4126%2Fpulumi-quickstart2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiwa4126%2Fpulumi-quickstart2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heiwa4126","download_url":"https://codeload.github.com/heiwa4126/pulumi-quickstart2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiwa4126%2Fpulumi-quickstart2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32618243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["example","pulumi","pulumi-aws","python"],"created_at":"2024-11-09T13:27:16.666Z","updated_at":"2026-05-04T17:36:50.818Z","avatar_url":"https://github.com/heiwa4126.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pulumi-quickstart2\n\n[Get Started with AWS | Pulumi](https://www.pulumi.com/docs/get-started/aws/)を見て作った\n2番めののプロジェクト\n(最初のプロジェクトはaws-goでやったらpulumi upにCPUが耐えられなかった)。\n\n\n# 手順\n\n```bash\nexport AWS_ACCESS_KEY_ID=\u003cYOUR_ACCESS_KEY_ID\u003e\nexport AWS_SECRET_ACCESS_KEY=\u003cYOUR_SECRET_ACCESS_KEY\u003e\nmkdir quickstart \u0026\u0026 cd quickstart\npulumi new aws-python\n# リージョンとか聞かれる。\n# 特定のwwwページにアクセスするよう言われる。githubでログインした。\n# venvを自動で作りpipも勝手にやる。\n. ./venv/bin/activate\nvim __main__.py  # S3バケット名だけ変える\npulumi up\n```\n\nあとは [Get Started with AWS | Pulumi](https://www.pulumi.com/docs/get-started/aws/)\nに従って、S3バケットにWWWアクセスできるところまで。\n\n\n# ほかメモ\n\ngitにはvenvは入ってないのでクローン先では\n\n```bash\ngit clone xxxxx\ncd xxxx\npython3 -m venv ./venv\n. ./venv/bin/activate\n# で、\npulumi stack select dev\n# または\npulumi stack new dev2\npulumi config set aws:region us-east-2\n# で\npulumi up  # pip install -r requirements.txtは自動でやってくれる(手動でもいいけど)\n```\n\nしないとダメだ。\nこのへんが「既存の言語が使える」の欠点。\n\n\n# コマンド補完\n\n参考: [Command\\-line Completion](https://www.pulumi.com/docs/reference/cli/#command-line-completion)\n\n```bash\npulumi gen-completion bash \u003e ~/.pulumi/bash_completion\n```\nして\n\n~/.profile (かそれに該当するあれ)に\n```bash\n# Pulumi completion\nif [ -f \"$HOME/.pulumi/bash_completion\" ] ; then\n   .  \"$HOME/.pulumi/bash_completion\"\nfi\n```\n\n\n# 感想\n\n- AWS CDKに似ているが、AWS CDKの1000倍早い。\n- 既存言語で書けるのはCDK同様だが、YAMLでも書ける。\n- Terraformのbackendにあたるのが Pulumiのweb一択。GitHubActionみたいなUIがついてる。\n- チームで使うなら有料。\n- ~/.aws/credentials とかは見てくれない。環境変数をexport\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheiwa4126%2Fpulumi-quickstart2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheiwa4126%2Fpulumi-quickstart2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheiwa4126%2Fpulumi-quickstart2/lists"}