Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples for updated AWS managed policies #894

Merged
merged 3 commits into from
Jan 29, 2021

Conversation

leezen
Copy link
Contributor

@leezen leezen commented Jan 28, 2021

Update examples that used either the outdated AmazonEC2ContainerServiceFullAccess or AWSLambdaFullAccess policies. While at it, fix up some of these examples.

@mikhailshilkov I updated an F# example for the recent changes to InputUnion enum types. I am not super familiar with F#, so would like your opinion on that change (I copied an example from how I had seen you do it elsewhere).

I'll note that I ran all these examples manually to verify they work. I had three issues:

  1. cloud-js-thumbnailer-machine-learning -- there's a bug in @pulumi/cloud-aws (see Fix an issue where the subnet array is not unwrapped correctly pulumi-cloud#785)
  2. in the two Python examples, there seems to be a provider bug where the target attachment stickiness isn't getting set correctly on the first up. A subsequent up seems to fix this. This requires more investigation but I suspect an issue with Python snake/camel casing.

[<AutoOpen>]
module Helpers =
let inputLeft<'a, 'b>(v: 'a) : InputUnion<'a, 'b> = InputUnion.op_Implicit v
let inputRight<'a, 'b>(v: 'b) : InputUnion<'a, 'b> = InputUnion.op_Implicit v
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aws-fs-lambda-webserver/pulumi/Program.fs Outdated Show resolved Hide resolved
@stack72 stack72 merged commit 88e52a4 into master Jan 29, 2021
@pulumi-bot pulumi-bot deleted the lee/deprecate-aws-policies branch January 29, 2021 20:03
dixler pushed a commit that referenced this pull request Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants