860 lines
26 KiB
Markdown
Raw Permalink Normal View History

Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
---
title: "Crosswalk for AWS in all Pulumi Languages"
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
# The date represents the post's publish date, and by default corresponds with
# the date this file was generated. Posts with future dates are visible in development,
# but excluded from production builds. Use the time and timezone-offset portions of
# of this value to schedule posts for publishing later.
date: 2022-05-04T06:57:00-07:00
# Use the meta_desc property to provide a brief summary (one or two sentences)
# of the content of the post, which is useful for targeting search results or social-media
# previews. This field is required or the build will fail the linter test.
meta_desc: Learn how Pulumis popular Crosswalk for AWS packages enable you to deploy modern architectures with infrastructure as code in all Pulumi languages.
# The meta_image appears in social-media previews and on the blog home page.
# A placeholder image representing the recommended format, dimensions and aspect
# ratio has been provided for you.
meta_image: meta.png
# At least one author is required. The values in this list correspond with the `id`
# properties of the team member files at /data/team/team. Create a file for yourself
# if you don't already have one.
authors:
- paul-stack
# At least one tag is required. Lowercase, hyphen-delimited is recommended.
tags:
- features
- aws
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
# See the blogging docs at https://github.com/pulumi/pulumi-hugo/blob/master/BLOGGING.md.
# for additional details, and please remove these comments before submitting for review.
---
Crosswalk for AWS is a collection of libraries that make it easy to work with AWS using Pulumi Infrastructure as Code. The Crosswalk for AWS libraries are some of the most widely used higher-level components in the Pulumi ecosystem, with hundreds of organizations building their infrastructure on the simple abstractions over key AWS services like ECS, API Gateway, VPC, Load Balancing, CloudTrail, EC2, ECR, and more.
<!--more-->
Crosswalk for AWS is the easiest way to get started with core compute and application primitives on AWS. Running a containerized or serverless application on AWS requires just a handful of lines of code. This enables application and service development teams to directly own and manage the infrastructure for their applications. As Crosswalk builds on the primitive building blocks of the AWS platform, you can use 100% of what AWS offers, and can seamlessly move between high-level components and low-level platform primitives, mixing-and-matching as needed.
These libraries use automatic well-architected best practices to make common infrastructure as code tasks in AWS easier and more secure.
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
Crosswalk for AWS is available to users in all Pulumi languages, [TypeScript](https://www.pulumi.com/docs/languages-sdks/javascript), [Python](https://www.pulumi.com/docs/languages-sdks/python), [.NET](https://www.pulumi.com/docs/languages-sdks/dotnet), [Go](https://www.pulumi.com/docs/languages-sdks/go), [Java](https://www.pulumi.com/docs/languages-sdks/java) and [YAML](https://www.pulumi.com/docs/languages-sdks/yaml). The AWSx package now joins the existing API Gateway and EKS packages in the Pulumi Registry, available in all Pulumi languages.
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
![Crosswalk for AWS diagram](arch.png)
## From Zero to Production And Beyond with Crosswalk for AWS
Lets walk through some examples of using Crosswalk for AWS for common use cases.
### Containers (ECS, Fargate)
Many Pulumi customers deploy containerized workloads on AWS with ECS or Fargate. AWSx significantly simplifies deploying your application to these managed container services. With just a few lines of code and tens of seconds to deploy, our container is running in production in AWS.
{{< chooser language "typescript,python,csharp,java,yaml" >}}
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
{{% choosable language typescript %}}
```typescript
import * as awsx from "@pulumi/awsx";
import * as aws from "@pulumi/aws";
// Create a repository.
const repo = new awsx.ecr.Repository("my-repo");
// Build an image from the "./app" directory (relative to our project and containing Dockerfile),
// and publish it to our ECR repository provisioned above.
const image = new awsx.ecr.Image("image", {
repositoryUrl: repo.url,
path: "./app",
})
// Create an ECS Cluster
const cluster = new aws.ecs.Cluster("default-cluster");
// // Create a load balancer on port 80 and spin up two instances of Nginx.
const lb = new awsx.lb.ApplicationLoadBalancer("nginx-lb");
const service = new awsx.ecs.FargateService("my-service", {
cluster: cluster.arn,
taskDefinitionArgs: {
container: {
image: image.imageUri,
cpu: 512,
memory: 128,
essential: true,
portMappings: [
{
containerPort: 80,
targetGroup: lb.defaultTargetGroup,
},
],
},
},
});
// Export the load balancer's address so that it's easy to access.
export const url = lb.loadBalancer.dnsName;
```
{{% /choosable %}}
{{% choosable language python %}}
```python
import pulumi
import pulumi_aws as aws
import pulumi_awsx as awsx
repo = awsx.ecr.Repository("my-repo");
image = awsx.ecr.Image("image",
repository_url=repo.url,
path="./app")
cluster = aws.ecs.Cluster("default-cluster")
lb = awsx.lb.ApplicationLoadBalancer("nginx-lb")
service = awsx.ecs.FargateService("service",
cluster=cluster.arn,
task_definition_args=awsx.ecs.FargateServiceTaskDefinitionArgs(
containers={
"nginx": awsx.ecs.TaskDefinitionContainerDefinitionArgs(
image=image.image_uri,
memory=128,
port_mappings=[awsx.ecs.TaskDefinitionPortMappingArgs(
container_port=80,
target_group=lb.default_target_group,
)]
)
}
))
pulumi.export("url", lb.load_balancer.dns_name)
```
{{% /choosable %}}
{{% choosable language csharp %}}
```csharp
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Awsx.Ecs.Inputs;
using Aws = Pulumi.Aws;
using Ecr = Pulumi.Awsx.Ecr;
using Ecs = Pulumi.Awsx.Ecs;
using Lb = Pulumi.Awsx.Lb;
class MyStack : Stack
{
public MyStack()
{
var repo = new Ecr.Repository("my-repo");
var image = new Ecr.Image("image", new Ecr.ImageArgs
{
RepositoryUrl = repo.Url,
Path = "./app",
});
var cluster = new Aws.Ecs.Cluster("demo-cluster");
var lb = new Lb.ApplicationLoadBalancer("nginx-lb");
var service = new Ecs.FargateService("my-service", new Ecs.FargateServiceArgs
{
Cluster = cluster.Arn,
TaskDefinitionArgs = new FargateServiceTaskDefinitionArgs
{
Container = new TaskDefinitionContainerDefinitionArgs
{
Memory = 128,
Cpu = 512,
Image = “
Essential = true,
PortMappings = new TaskDefinitionPortMappingArgs
{
ContainerPort = 80,
TargetGroup = lb.DefaultTargetGroup,
}
}
}
});
}
}
class Program
{
static Task<int> Main(string[] args) => Deployment.RunAsync<MyStack>();
}
```
{{% /choosable %}}
{{% choosable language python %}}
```python
import pulumi
import pulumi_aws as aws
import pulumi_awsx as awsx
repo = awsx.ecr.Repository("my-repo");
image = awsx.ecr.Image("image",
repository_url=repo.url,
path="./app")
cluster = aws.ecs.Cluster("default-cluster")
lb = awsx.lb.ApplicationLoadBalancer("nginx-lb")
service = awsx.ecs.FargateService("service",
cluster=cluster.arn,
task_definition_args=awsx.ecs.FargateServiceTaskDefinitionArgs(
containers={
"nginx": awsx.ecs.TaskDefinitionContainerDefinitionArgs(
image=image.image_uri,
memory=128,
port_mappings=[awsx.ecs.TaskDefinitionPortMappingArgs(
container_port=80,
target_group=lb.default_target_group,
)]
)
}
))
pulumi.export("url", lb.load_balancer.dns_name)
```
{{% /choosable %}}
{{% choosable language java %}}
```java
package myproject;
import com.pulumi.Pulumi;
import com.pulumi.aws.ecs.Cluster;
import com.pulumi.aws.lb.LoadBalancer;
import com.pulumi.awsx.ecr.ImageArgs;
import com.pulumi.awsx.ecr.Repository;
import com.pulumi.awsx.ecr.Image;
import com.pulumi.awsx.ecs.FargateService;
import com.pulumi.awsx.ecs.FargateServiceArgs;
import com.pulumi.awsx.ecs.inputs.FargateServiceTaskDefinitionArgs;
import com.pulumi.awsx.ecs.inputs.TaskDefinitionContainerDefinitionArgs;
import com.pulumi.awsx.ecs.inputs.TaskDefinitionPortMappingArgs;
import com.pulumi.awsx.lb.ApplicationLoadBalancer;
public class App {
public static void main(String[] args) {
Pulumi.run(ctx -> {
// Create a repository.
var repo = new Repository("my-repo");
// Build an image from the "./app" directory (relative to our project and containing Dockerfile),
// and publish it to our ECR repository provisioned above.
var image = new Image("image", ImageArgs.builder()
.repositoryUrl(repo.url())
.path("./app")
.build()
);
// Create an ECS Cluster
var cluster = new Cluster("default-cluster");
// // Create a load balancer on port 80 and spin up two instances of Nginx.
var lb = new ApplicationLoadBalancer("nginx-lb");
new FargateService("my-service", FargateServiceArgs.builder()
.cluster(cluster.arn())
.taskDefinitionArgs(FargateServiceTaskDefinitionArgs.builder()
.container(TaskDefinitionContainerDefinitionArgs.builder()
.image(image.imageUri())
.cpu(521)
.memory(128)
.essential(true)
.portMappings(TaskDefinitionPortMappingArgs.builder()
.containerPort(80)
.targetGroup(lb.defaultTargetGroup())
.build()
)
.build())
.build())
.build()
);
// Export the load balancer's address so that it's easy to access.
ctx.export("load-balancer-dns-name", lb.loadBalancer().applyValue(LoadBalancer::dnsName));
});
}
}
```
{{% /choosable %}}
{{% choosable language yaml %}}
```yaml
name: awsx-containers-yaml
runtime: yaml
description: A minimal AWS Pulumi YAML program
resources:
# Create an AWS resource (S3 Bucket)
bucket:
type: aws:s3:Bucket
# Create a repository
repo:
type: awsx:ecr:Repository
# Build an image from the "./app" directory (relative to our project and
# containing Dockerfile), and publish it to our ECR repository provisioned above.
image:
type: awsx:ecr:Image
properties:
repositoryUrl: ${repo.url}
path: "./app"
# Create an ECS Cluster
cluster:
type: aws:ecs:Cluster
# Create a load balancer on port 80 and spin up two instances of Nginx.
lb:
type: awsx:lb:ApplicationLoadBalancer
service:
type: awsx:ecs:FargateService
properties:
cluster: ${cluster.arn}
taskDefinitionArgs:
container:
image: ${image.imageUri}
cpu: 512
memory: 128
essential: true
portMappings:
- containerPort: 80
targetGroup: ${lb.defaultTargetGroup}
outputs:
# Export the name of the bucket
url: ${lb.loadBalancer.dnsName}
```
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
{{% /choosable %}}
{{% /chooser %}}
Using ECS, Fargate, ECR and ALB, we get a robust production-ready container deployment - horizontally scaled out, load-balanced, and integrated with a private image repository. With just a few more lines of code, we can add autoscaling, customize our ECS cluster, or wire through advanced container configuration (volumes, environment variables, and more).
### Networking (VPC)
To adopt a security posture using best practices, we may want to move our cluster into a custom VPC, and run the containers in private subnets. We can define and configure our VPC:
{{< chooser language "typescript,python,csharp,java,yaml" >}}
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
{{% choosable language typescript %}}
```typescript
import * as awsx from "@pulumi/awsx";
// Allocate a new VPC with the default settings:
const vpc = new awsx.ec2.Vpc("custom");
// Export a few resulting fields to make them easy to use:
export const vpcId = vpc.vpcId;
export const privateSubnetIds = vpc.privateSubnetIds;
export const publicSubnetIds = vpc.publicSubnetIds;
```
{{% /choosable %}}
{{% choosable language python %}}
```python
import pulumi
import pulumi_awsx as awsx
vpc = awsx.ec2.Vpc("custom")
pulumi.export("vpcId", vpc.vpc_id)
pulumi.export("publicSubnetIds", vpc.public_subnet_ids)
pulumi.export("privateSubnetIds", vpc.private_subnet_ids)
```
{{% /choosable %}}
{{% choosable language csharp %}}
```csharp
using Pulumi;
using Ec2 = Pulumi.Awsx.Ec2;
class MyStack : Stack
{
public MyStack()
{
var vpc = new Ec2.Vpc("custom");
this.VpcId = vpc.VpcId;
}
[Output] public Output<string> VpcId { get; set; }
}
class Program
{
static Task<int> Main(string[] args) => Deployment.RunAsync<MyStack>();
}
```
{{% /choosable %}}
{{% choosable language java %}}
```java
package myproject;
import com.pulumi.Pulumi;
import com.pulumi.awsx.ec2.Vpc;
public class App {
public static void main(String[] args) {
Pulumi.run(ctx -> {
var vpc = new Vpc("custom");
ctx.export("vpcId", vpc.vpcId());
ctx.export("privateSubnetIds", vpc.privateSubnetIds());
ctx.export("publicSubnetIds", vpc.publicSubnetIds());
});
}
}
```
{{% /choosable %}}
{{% choosable language yaml %}}
```yaml
name: awsx-networking-yaml
runtime: yaml
description: A minimal AWS Pulumi YAML program
resources:
# Allocate a new VPC with the default settings:
vpc:
type: awsx:ec2:Vpc
outputs:
vpcId: ${vpc.VpcId}
privateSubnetIds: ${vpc.privateSubnetIds}
publicSubnetIds: ${vpc.publicSubnetIds}
```
{{% /choosable %}}
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
{{% /chooser %}}
The `Vpc` component builds on best-practices Virtual Private Cloud (VPC) design patterns based on AWS guidance and documentation. By building in simple defaults for routing, subnet structure, NATs and multi-AZ we can get started quickly without having to re-discover these best practices. And as your needs grow, we can deeply customize and evolve our VPC structure - defining custom CIDR blocks, customizing Internet and NAT Gateways or additional private subnets.
### Serverless (Lambda, API Gateway)
Its common to start with serving a simple REST API on the internet when beginning a new cloud project. With just a few lines of code and tens of seconds to deploy, Crosswalk for AWS makes it easy to build and deploy our API.
{{< chooser language "typescript,python,csharp,go" >}}
{{% choosable language typescript %}}
```typescript
import * as apigateway from "@pulumi/aws-apigateway";
import * as aws from "@pulumi/aws";
const f = new aws.lambda.CallbackFunction("f", {
callback: async (ev, ctx) => {
console.log(JSON.stringify(ev));
return {
statusCode: 200,
body: "goodbye",
};
},
});
const api = new apigateway.RestAPI("api", {
routes: [{
path: "/",
method: "GET",
eventHandler: f,
}],
});
export const url = api.url;
```
{{% /choosable %}}
{{% choosable language python %}}
```python
import json
import pulumi
import pulumi_aws as aws
import pulumi_aws_apigateway as apigateway
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
role = aws.iam.Role("mylambda-role",
assume_role_policy=json.dumps({
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": { "Service": "lambda.amazonaws.com" },
"Action": "sts:AssumeRole"
}]
})
)
policy = aws.iam.RolePolicy("mylambda-policy",
role=role.id,
policy=json.dumps({
"Version": "2012-10-17",
"Statement": [{
"Action": ["logs:*", "cloudwatch:*"],
"Resource": "*",
"Effect": "Allow",
}],
}))
# Closure serialization is not supported in multi-lang components
# so we need to provide a handler function explicitly from the file-system.
# Refer to https://github.com/pulumi/pulumi-aws-apigateway/tree/main/examples/simple-py/handler
# for an example handler.
f = aws.lambda_.Function("mylambda",
runtime=aws.lambda_.Runtime.PYTHON3D8,
code=pulumi.AssetArchive({
".": pulumi.FileArchive("./handler"),
}),
timeout=300,
handler="handler.handler",
role=role.arn,
opts=pulumi.ResourceOptions(depends_on=[policy]),
)
api = apigateway.RestAPI('api', routes=[
apigateway.RouteArgs(path="/", method="GET", event_handler=f),
])
pulumi.export('url', api.url)
```
{{% /choosable %}}
{{% choosable language csharp %}}
```csharp
using Pulumi;
using System.Collections.Generic;
using ApiGW = Pulumi.AwsApiGateway;
using Lambda = Pulumi.Aws.Lambda;
using Iam = Pulumi.Aws.Iam;
class MyStack : Stack
{
public MyStack()
{
var lambdaRole = new Iam.Role("mylambda-role", new Iam.RoleArgs
{
AssumeRolePolicy =
@"{
""Version"": ""2012-10-17"",
""Statement"": [{
""Effect"": ""Allow"",
""Principal"": { ""Service"": ""lambda.amazonaws.com"" },
""Action"": ""sts:AssumeRole""
}]
}"
});
var rolePolicy = new Iam.RolePolicy("mylambda-policy", new Iam.RolePolicyArgs
{
Role = lambdaRole.Id,
Policy =
@"{
""Version"": ""2012-10-17"",
""Statement"": [{
""Action"": [""logs:*"", ""cloudwatch:*""],
""Resource"": ""*"",
""Effect"": ""Allow""
}]
}"
});
// Closure serialization is not supported in multi-lang components
// so we need to provide a handler function explicitly from the file-system.
// Refer to https://github.com/pulumi/pulumi-aws-apigateway/tree/main/examples/simple-cs/handler
// for an example handler.
var lambda = new Lambda.Function("lambda", new Lambda.FunctionArgs
{
Runtime = Lambda.Runtime.Python3d8,
Code = new AssetArchive(new Dictionary<string, AssetOrArchive>{
["."] = new FileArchive("./handler"),
}),
Timeout = 300,
Handler = "handler.handler",
Role = lambdaRole.Arn
}, new Pulumi.CustomResourceOptions { DependsOn = { rolePolicy } });
var restAPI = new ApiGW.RestAPI("api", new ApiGW.RestAPIArgs
{
Routes = new List<ApiGW.Inputs.RouteArgs>{
new ApiGW.Inputs.RouteArgs{Path="/", Method=ApiGW.Method.GET, EventHandler=lambda}}
});
this.Url = restAPI.Url;
}
[Output]
public Output<string> Url { get; set; }
}
```
{{% /choosable %}}
{{% choosable language go %}}
```go
package main
import (
apigateway "github.com/pulumi/pulumi-aws-apigateway/sdk/go/apigateway"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
role, err := iam.NewRole(ctx, "lambda-role", &iam.RoleArgs{
AssumeRolePolicy: pulumi.String(`{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": { "Service": "lambda.amazonaws.com" },
"Action": "sts:AssumeRole"
}]
}`),
})
if err != nil {
return err
}
policy, err := iam.NewRolePolicy(ctx, "lambda-policy", &iam.RolePolicyArgs{
Role: role.ID(),
Policy: pulumi.String(`{
"Version": "2012-10-17",
"Statement": [{
"Action": ["logs:*", "cloudwatch:*"],
"Resource": "*",
"Effect": "Allow"
}]
}`),
})
if err != nil {
return err
}
// Closure serialization is not supported in multi-lang components
// so we need to provide a handler function explicitly from the file-system.
// Refer to https://github.com/pulumi/pulumi-aws-apigateway/tree/main/examples/simple-go/handler
// for an example handler.
f, err := lambda.NewFunction(ctx, "lambda", &lambda.FunctionArgs{
Runtime: lambda.RuntimePython3d8,
Code: pulumi.NewAssetArchive(map[string]interface{}{
".": pulumi.NewFileArchive("./handler"),
}),
Timeout: pulumi.Int(300),
Handler: pulumi.String("handler.handler"),
Role: role.Arn,
}, pulumi.DependsOn([]pulumi.Resource{policy}))
if err != nil {
return err
}
getMethod := apigateway.MethodGET
restAPI, err := apigateway.NewRestAPI(ctx, "api", &apigateway.RestAPIArgs{
Routes: []apigateway.RouteArgs{
apigateway.RouteArgs{
Path: "/",
Method: &getMethod,
EventHandler: f,
},
},
})
if err != nil {
return err
}
ctx.Export("url", restAPI.Url)
return nil
})
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
}
```
{{% /choosable %}}
{{% choosable language java %}}
```java
```
{{% /choosable %}}
{{% choosable language yaml %}}
```yaml
```
{{% /choosable %}}
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
{{% /chooser %}}
By building on top of great AWS building blocks like Lambda, API Gateway, IAM and more, you avoid needing to worry about infrastructure, pay nearly zero fixed costs, and gain the ability to iterate quickly. With just a few more lines of code, you can wire up your own domain, add authorization, provision a database, or chain together a more complex event-driven application.
### Kubernetes (EKS)
As your project continues to evolve, you may want to move your container workloads into Kubernetes using EKS. We can stand up an EKS cluster with just a few lines of code, then customize the cluster and deploy Kubernetes workloads into the cluster.
{{< chooser language "typescript,python,csharp,go" >}}
{{% choosable language typescript %}}
```typescript
import * as pulumi from "@pulumi/pulumi";
import * as eks from "@pulumi/eks";
const projectName = pulumi.getProject();
// Create an EKS cluster with the default configuration.
const cluster1 = new eks.Cluster(`${projectName}-1`);
// Export the clusters' kubeconfig.
export const kubeconfig1 = cluster1.kubeconfig;
```
{{% /choosable %}}
{{% choosable language python %}}
```python
import pulumi
import pulumi_eks as eks
project_name = pulumi.get_project()
# Create an EKS cluster with the default configuration.
cluster1 = eks.Cluster(f"{project_name}-1")
pulumi.export("kubeconfig1", cluster1.kubeconfig)
```
{{% /choosable %}}
{{% choosable language csharp %}}
```csharp
using Pulumi;
using Pulumi.Eks;
class MyStack : Stack
{
public MyStack()
{
string projectName = Deployment.Instance.ProjectName;
var cluster1 = new Cluster($"{projectName}-1");
Kubeconfig1 = cluster1.Kubeconfig;
}
[Output("kubeconfig1")]
public Output<object> Kubeconfig1 { get; set; }
}
class Program
{
static Task<int> Main(string[] args) => Deployment.RunAsync<MyStack>();
}
```
{{% /choosable %}}
{{% choosable language go %}}
```go
package main
import (
"github.com/pulumi/pulumi-eks/sdk/go/eks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create cluster with default settings
cluster1, err := eks.NewCluster(ctx, "example-cluster-go-1", nil)
if err != nil {
return err
}
// Export the kubeconfig for clusters
ctx.Export("kubeconfig1", cluster1.Kubeconfig)
return nil
})
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
}
```
{{% /choosable %}}
{{% choosable language java %}}
{{% /choosable %}}
{{% choosable language yaml %}}
{{% /choosable %}}
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
{{% /chooser %}}
By building on EKS, we get all the benefits of managed Kubernetes paired with the platform capabilities of AWS. With Crosswalk for AWS, we can get started quickly, and then evolve to take advantage of all of these platform features, like customized node groups, private networking, and even deploying Kubernetes YAML and Helm charts to our cluster.
### Upgrading from an existing version of AWSx
Users of the existing TypeScript version of the AWSx package can migrate to the new multi-language implementations of the core AWSx features, or can continue using the existing TypeScript-specific implementations, now available in the `classic` namespace. This means that you are not required to use the new code when you update to the new version of the library. In order to use the existing version of the library, you simply need to use the classic namespace:
```typescript
import * as awsx from “@pulumi/awsx/classic”;
const vpc = new awsx.ec2.Vpc(“my-classic-vpc”, {})
export const vpcId = vpc.Id;
```
## Whats Next?
2023-05-15 16:50:57 -07:00
Crosswalk for AWS is free and open source, and you can [get started](https://www.pulumi.com/docs/clouds/aws/guides/) today.
Site updates (#1467) * Add upstream sync workflow (#1) * Update go.mod * Use pulumi-bot for sync checkouts (#2) * Update go.mod * Update workflow names (#3) * Build with theme-private (#8) * Update go.mod * Use GITHUB_REPOSITORY as repo_name if present (#15) * Update go.mod * Add Java and YAML to Getting Started > AWS (#10) * Update go.mod * Update go.mod * Update go.mod * YAML docs landing page (#16) * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Starting docs landing page * Fix lint * yaml logo: png -> svg * Fix nits * Move Spec to the API docs * Remove choosable * Add concept docs for YAML (#7) * Add concept docs * Documentation for secrets * Correct documentation for aliases * Note that YAML doesn't support `get` * Fix nit * Don't include "yet" or link issues * Don't suggest unsupported resources * Fix typos * Add "yet" and issue links back in * Set default for the makefile * Update go.mod * update marketing svgs for launch (#12) * Add Java and YAML to language lists (#21) * Add Java and YAML to language lists * change description for aws partner page to be 160 chars * Link the new languages on terraform comparison page * add-for-arm2plumi * remove yaml from list of OO languages * rewording * Apply suggestions from code review Co-authored-by: Christian Nunciato <c@nunciato.org> * why-pulumi rewording Co-authored-by: Christian Nunciato <c@nunciato.org> * Java/concepts docs (#27) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * Standardize preview message acrross JaML (#30) * adjust java logo (#29) * Update YAML secrets to comply with pulumi-yaml#180 (#32) * Dixler/28/java nits (#31) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update go.mod * update java logo (#39) * updated logo * fixed java logo size Co-authored-by: Kyle Dixler <kyle@pulumi.com> * update diagrams again (#38) * Add link to Java languages page (#42) * Add link to Java page * Update themes/default/content/docs/intro/vs/terraform/_index.md Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> * updated awsx logo (#36) * Also build previews for may4-announce branch * Update go.mod * add yaml to chooser on home (#45) * adding java to language selectors on home (#50) * updated examples to match new API (#40) Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * Update scheduled-upstream-sync.yaml * added more details around integration with Java tools (#46) * added more details around integration with Java tools * addressed review comments Co-authored-by: Kyle Dixler <kyle@pulumi.com> * Add CrossCode page (#25) * adding in JSON (#52) * Update go.mod * Update code examples and images on website (#24) * More marketing site updates * More updates * Add more code examples * More updates * Update java logo and slot machine * Address feedback * Address more feedback * Update homepage subtitle * Update modern to universal in text * Update diagram logos * Update go.mod * Document the compiler option for Pulumi YAML (#55) * Document the compiler option for Pulumi YAML * Add to project reference * Cut motivation * Java and YAML to Learn Fundamentals (#11) * feat(langs): add java and yaml to azure get started (#51) * feat(support): add support for java and yaml to GCP getting started (#41) * got k8s working (#62) Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Update go.mod * Added details about datasource methods. (#63) Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Remove the pin to pulumi/theme-private (#54) * Only run the push workflow on the upstream repo * May4 announce (#64) * Java blog (to may 4th) (#44) * Java blog * First round of reviews * New meta and small fixes * Add workshop link * Mention other JVM languages * Add Puluminaries launch blog (#57) Signed-off-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Christian Nunciato <c@nunciato.org> * Add Pulumi Service Provider Blog Post (#49) * add pulumi service provider blog post * fix lint errors * Update meta.png * Github --> GitHub * Apply suggestions from code review Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * fix lint errors * apply wording updates from meagan * update registry link to plain md relative link * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: Luke Hoban <lukehoban@gmail.com> * type --> teamType * remove checkout yaml comment * add teams image and blurb about rest api * Update themes/default/content/blog/announcing-pulumi-service-provider/index.md Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> * resize meta.png and remove paragraph * reduce meta.png even further Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> * Overview, YAML and CDK blogs (#58) * awsx blog (#59) * Fix up links and times. * Use propoer note style. * Remove accidental .gitignore changes * Add Go example * Add PR links, update banner, and pulumiup page (#53) * Add PR links, update banner, and pulumiup page * Update banner URL * Remove relref for clean build * Update themes/default/content/blog/pulumi-universal-iac/index.md Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com> Co-authored-by: Zack Chase <zachary@pulumi.com> Co-authored-by: Christian Nunciato <c@nunciato.org> Co-authored-by: cnunciato <cnunciato@users.noreply.github.com> Co-authored-by: GH Action - Upstream Sync <action@github.com> Co-authored-by: pulumi-bot <pulumi-bot@users.noreply.github.com> Co-authored-by: Ian Wahbe <ian@wahbe.com> Co-authored-by: susan evans <susan.ra.evans@gmail.com> Co-authored-by: Sean Holung <sean.holung@gmail.com> Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com> Co-authored-by: Kyle Dixler <kyle@pulumi.com> Co-authored-by: dixler <dixler@users.noreply.github.com> Co-authored-by: zchase <zchase@users.noreply.github.com> Co-authored-by: Laura Santamaria <laura@nimbinatus.com> Co-authored-by: Mikhail Shilkov <github@mikhail.io> Co-authored-by: Matt Stratton <matt.stratton@gmail.com> Co-authored-by: Myles Haynes <myleschaynes@gmail.com> Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com> Co-authored-by: Luke Hoban <lukehoban@gmail.com>
2022-05-04 06:29:46 -07:00
For more on Crosswalk for AWS see:
- [Pulumi Crosswalk for AWS API Gateway documentation](/docs/clouds/aws/guides/api-gateway/)
- [Pulumi Crosswalk for AWS Auto Scaling documentation](/docs/clouds/aws/guides/autoscaling/)
- [Pulumi Crosswalk for AWS Elastic Container Registry (ECR) documentation](/docs/clouds/aws/guides/ecr)
- [Pulumi Crosswalk for AWS Elastic Kubernetes Service (EKS)](/docs/clouds/aws/guides/eks)
- [Pulumi Crosswalk for AWS Elastic Load Balancing (ELB)](/docs/clouds/aws/guides/elb)
- [Pulumi Crosswalk for AWS Virtual Private Cloud (VPC)](/docs/clouds/aws/guides/vpc)