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

feat(iam): openid connect provider #7803

Merged
merged 54 commits into from
May 6, 2020
Merged

feat(iam): openid connect provider #7803

merged 54 commits into from
May 6, 2020

Commits on Apr 30, 2020

  1. refactor(core): fold "assets" to "core"

    Fold the "assets" module, which includes the Staging construct that takes care of staging asset files into the cloud assembly during synthesis into "core". This is in order to allow implementing custom resources that leverage assets throughout the framework.
    
    A subsequent commit will add a mini-framework for custom resources that leverages this capability.
    Elad Ben-Israel committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    fd8868f View commit details
    Browse the repository at this point in the history
  2. add coverage to for the compatibility layer

    Elad Ben-Israel committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    f8eafa1 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/master' into benisrae/refactor/a…

    …ssets
    Elad Ben-Israel committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    e6dec09 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. Merge branch 'master' into benisrae/refactor/assets

    Elad Ben-Israel authored May 1, 2020
    Configuration menu
    Copy the full SHA
    b00a1a9 View commit details
    Browse the repository at this point in the history
  2. feat(core): fold "aws-cloudformation" into "core"

    This commit folds the `CustomResource` and `NestedStack` types from `@aws-cdk/aws-cloudformation` into `@aws-cdk/core` in order to allow code in `core` and other lower layers to use capabilities such as nested stacks and custom resources.
    
    This comes at a minor sacrifice to API fidelity: the provider's service token is for custom resources is now passed as a simple `string` instead of a strongly typed `ICustomResourceProvider`. But this is negligible for this type of resource given the high involvement users require to use it anyway. Additionally, the `NestedStack` class accepts a `notificationArns` as a `string[]` instead of an `sns.ITopic[]`. In both cases the API in `@aws-cdk/aws-cloudformation` (which is considered a stable module) remains unchanged with a compatibility layer added.
    
    We took this opportunity to change the behavior of custom resources so that it won't pascal-case property names by default. This resolves #4896 and resolves #7035 and supersedes #7034.
    
    The API in the aws-cloudformation module are still supported for backwards compatibility but marked as deprecated.
    Elad Ben-Israel committed May 1, 2020
    Configuration menu
    Copy the full SHA
    81d80ea View commit details
    Browse the repository at this point in the history
  3. awslint: search for resource types in a case insensitive way

    Elad Ben-Israel committed May 1, 2020
    Configuration menu
    Copy the full SHA
    093f300 View commit details
    Browse the repository at this point in the history
  4. add assets

    Elad Ben-Israel committed May 1, 2020
    Configuration menu
    Copy the full SHA
    a3b0b8f View commit details
    Browse the repository at this point in the history
  5. fix some stuffs

    Elad Ben-Israel committed May 1, 2020
    Configuration menu
    Copy the full SHA
    94beaf0 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2020

  1. Configuration menu
    Copy the full SHA
    ce4e43b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60c51f6 View commit details
    Browse the repository at this point in the history
  3. fix eks legacy

    Elad Ben-Israel committed May 3, 2020
    Configuration menu
    Copy the full SHA
    3877e65 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2020

  1. Merge branch 'master' into benisrae/fold-cfn-2

    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    c03e31e View commit details
    Browse the repository at this point in the history
  2. change default of pascalCaseProperties to false

    We have `true` in the compatibility layer
    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    b027158 View commit details
    Browse the repository at this point in the history
  3. Update test.custom-resource.ts

    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    79c8419 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    d190ad9 View commit details
    Browse the repository at this point in the history
  5. Update README.md

    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    b73f68f View commit details
    Browse the repository at this point in the history
  6. Update README.md

    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    867a534 View commit details
    Browse the repository at this point in the history
  7. Update README.md

    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    c7a6815 View commit details
    Browse the repository at this point in the history
  8. feat(core): custom resource provider helper

    A helper for implementing simple node.js-based custom resource providers. This is a simpler framework from what is offered `@aws-cdk/custom-resources.Provider`, designed to enable implementing custom resources with minimal dependencies.
    
    To that end, this helper uses `CfnResource` to define the AWS Lambda function and the low-level asset support that is now part of the core module.
    
    It DOES NOT support:
    - Arbitrary lambda function handlers, only node.js function.
    - Asynchronous "isComplete" waiters (limited to 15min lambda timeout).
    
    This is a precursor for implementing support for Open ID connect providers in the AWS IAM module, which is a very low-level module in our stack.
    Elad Ben-Israel committed May 4, 2020
    Configuration menu
    Copy the full SHA
    fb4b46d View commit details
    Browse the repository at this point in the history
  9. fix aws-custom-resource

    Elad Ben-Israel committed May 4, 2020
    Configuration menu
    Copy the full SHA
    2b1a4ae View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ff9446d View commit details
    Browse the repository at this point in the history
  11. Merge branch 'master' into benisrae/fold-cfn-2

    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    b8f7ee3 View commit details
    Browse the repository at this point in the history
  12. fix ddb-global pascal case

    Elad Ben-Israel committed May 4, 2020
    Configuration menu
    Copy the full SHA
    48c759f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    fd18b61 View commit details
    Browse the repository at this point in the history
  14. move integ test from core to aws-cloudformation to break the cyclic d…

    …ependency
    
    cdk-integ depends on "cdk" which dev-depends on @aws-cdk/core
    Elad Ben-Israel committed May 4, 2020
    Configuration menu
    Copy the full SHA
    a99ebc6 View commit details
    Browse the repository at this point in the history
  15. revert changes to package.json

    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    72288aa View commit details
    Browse the repository at this point in the history
  16. revert yarn.lock

    Elad Ben-Israel committed May 4, 2020
    Configuration menu
    Copy the full SHA
    46ba12b View commit details
    Browse the repository at this point in the history
  17. Merge remote-tracking branch 'origin/benisrae/fold-cfn-2' into benisr…

    …ae/core-provider-2
    Elad Ben-Israel committed May 4, 2020
    Configuration menu
    Copy the full SHA
    180a621 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'master' into benisrae/core-provider-2

    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    6de7e58 View commit details
    Browse the repository at this point in the history
  19. Merge branch 'master' into benisrae/core-provider-2

    Elad Ben-Israel authored May 4, 2020
    Configuration menu
    Copy the full SHA
    0ff4aff View commit details
    Browse the repository at this point in the history
  20. Update packages/@aws-cdk/core/README.md

    Co-authored-by: Jonathan Goldwasser <jogold@users.noreply.github.com>
    Elad Ben-Israel and jogold authored May 4, 2020
    Configuration menu
    Copy the full SHA
    e385420 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2020

  1. Address CR comments

    - Reorganize source directory structure
    - Multiple updates to README and docs.
    Elad Ben-Israel committed May 5, 2020
    Configuration menu
    Copy the full SHA
    639e191 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master' into benisrae/core-provi…

    …der-2
    Elad Ben-Israel committed May 5, 2020
    Configuration menu
    Copy the full SHA
    f86cc8d View commit details
    Browse the repository at this point in the history
  3. update integ snapshot

    Elad Ben-Israel committed May 5, 2020
    Configuration menu
    Copy the full SHA
    67155ec View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into benisrae/core-provider-2

    Elad Ben-Israel authored May 5, 2020
    Configuration menu
    Copy the full SHA
    0d91d5d View commit details
    Browse the repository at this point in the history
  5. update integration test

    Elad Ben-Israel committed May 5, 2020
    Configuration menu
    Copy the full SHA
    c5985ed View commit details
    Browse the repository at this point in the history
  6. feat(iam): openid connect providers

    Implements `iam.OpenIdConnectProvider` through a custom resource.
    
    See README for details.
    
    Related #5388
    Related #3949
    Related #6308
    Elad Ben-Israel committed May 5, 2020
    Configuration menu
    Copy the full SHA
    89903a3 View commit details
    Browse the repository at this point in the history
  7. allow passing arbitrary scopes to getOrCreate

    Elad Ben-Israel committed May 5, 2020
    Configuration menu
    Copy the full SHA
    1f728fb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    57284a4 View commit details
    Browse the repository at this point in the history
  9. dont extend Resource because we dont have an L1

    Elad Ben-Israel committed May 5, 2020
    Configuration menu
    Copy the full SHA
    acb24c9 View commit details
    Browse the repository at this point in the history
  10. Update packages/@aws-cdk/core/README.md

    Co-authored-by: Niranjan Jayakar <nija@amazon.com>
    Elad Ben-Israel and Niranjan Jayakar authored May 5, 2020
    Configuration menu
    Copy the full SHA
    c6b6dcc View commit details
    Browse the repository at this point in the history
  11. Update packages/@aws-cdk/core/README.md

    Co-authored-by: Niranjan Jayakar <nija@amazon.com>
    Elad Ben-Israel and Niranjan Jayakar authored May 5, 2020
    Configuration menu
    Copy the full SHA
    aa77f15 View commit details
    Browse the repository at this point in the history
  12. addressing additional cr comments

    Elad Ben-Israel committed May 5, 2020
    Configuration menu
    Copy the full SHA
    ed9c094 View commit details
    Browse the repository at this point in the history
  13. Merge remote-tracking branch 'origin/master' into benisrae/core-provi…

    …der-2
    Elad Ben-Israel committed May 5, 2020
    Configuration menu
    Copy the full SHA
    cefd6ef View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    86bfe10 View commit details
    Browse the repository at this point in the history
  15. mark as experimental

    Elad Ben-Israel committed May 5, 2020
    Configuration menu
    Copy the full SHA
    254388b View commit details
    Browse the repository at this point in the history

Commits on May 6, 2020

  1. Merge branch 'master' into benisrae/oidc-provider

    Elad Ben-Israel authored May 6, 2020
    Configuration menu
    Copy the full SHA
    82a7666 View commit details
    Browse the repository at this point in the history
  2. revert yarn.lock

    Elad Ben-Israel committed May 6, 2020
    Configuration menu
    Copy the full SHA
    67664c6 View commit details
    Browse the repository at this point in the history
  3. now really revert

    Elad Ben-Israel committed May 6, 2020
    Configuration menu
    Copy the full SHA
    f8ef988 View commit details
    Browse the repository at this point in the history
  4. add reference to cognito identity pools in README

    Elad Ben-Israel committed May 6, 2020
    Configuration menu
    Copy the full SHA
    0c29f9a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e325cbc View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into benisrae/oidc-provider

    Elad Ben-Israel authored May 6, 2020
    Configuration menu
    Copy the full SHA
    71ba6e2 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'master' into benisrae/oidc-provider

    Elad Ben-Israel authored May 6, 2020
    Configuration menu
    Copy the full SHA
    7bd28c8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5d8be98 View commit details
    Browse the repository at this point in the history