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

fix(ssm): fix service principals for all regions since ap-east-1 #17047

Merged
merged 13 commits into from
Nov 11, 2021
Merged

fix(ssm): fix service principals for all regions since ap-east-1 #17047

merged 13 commits into from
Nov 11, 2021

Conversation

jolo-dev
Copy link
Contributor

@jolo-dev jolo-dev commented Oct 18, 2021

fixes #16188

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Oct 18, 2021

@jolo-dev jolo-dev changed the title fix(ssm): Fix service principals for all regions since ap-east-1 fix(ssm): fix service principals for all regions since ap-east-1 Oct 19, 2021
@peterwoodworth peterwoodworth changed the title fix(ssm): fix service principals for all regions since ap-east-1 fix(ssm): fix service principals for all regions since ap-east-1 Oct 19, 2021
@github-actions github-actions bot added the @aws-cdk/aws-ssm Related to AWS Systems Manager label Oct 19, 2021
Copy link
Contributor

@njlynch njlynch left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

I made some suggestions that will reduce duplication and make it easier to add more region-specific principals in the future.

packages/@aws-cdk/region-info/lib/default.ts Outdated Show resolved Hide resolved
packages/@aws-cdk/region-info/test/default.test.ts Outdated Show resolved Hide resolved
@jolo-dev
Copy link
Contributor Author

jolo-dev commented Nov 5, 2021

@njlynch Thanks for your review. I have apply your requests

@mergify mergify bot dismissed njlynch’s stale review November 5, 2021 17:14

Pull request has been modified.

njlynch
njlynch previously approved these changes Nov 5, 2021
@mergify mergify bot dismissed njlynch’s stale review November 5, 2021 17:30

Pull request has been modified.

njlynch
njlynch previously approved these changes Nov 5, 2021
@mergify mergify bot dismissed njlynch’s stale review November 5, 2021 17:32

Pull request has been modified.

@jolo-dev
Copy link
Contributor Author

jolo-dev commented Nov 5, 2021

@njlynch I didn't know that you took over. I guess, you have to approve again.

@njlynch
Copy link
Contributor

njlynch commented Nov 8, 2021

I didn't know that you took over. I guess, you have to approve again.

Can you please revert the changes to CHANGELOG.md? You've introduced merge conflicts here. You don't need to merge to the latest from master; our workflows will do that for you automatically once it's been approved.

@jolo-dev
Copy link
Contributor Author

Hey @njlynch,
I have reverted the CHANGELOG.md.

@mergify
Copy link
Contributor

mergify bot commented Nov 11, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 59f7580
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 5900548 into aws:master Nov 11, 2021
@mergify
Copy link
Contributor

mergify bot commented Nov 11, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
…#17047)

fixes aws#16188 
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
rix0rrr added a commit that referenced this pull request Oct 3, 2022
The change in #17047 was based on an
eager reading of the documentation. The documentation referenced only
applies to "SSM Inventory", not to "SSM Automation".

And in fact there is no need for that change at all, since all accounts
included in the regional service principal are also included in the
global service principal.

We therefore revert all use of SSM service principals to the global one.
mergify bot pushed a commit that referenced this pull request Oct 4, 2022
…ons (#22327)

The change in #17047 was based on an eager reading of the documentation. The documentation referenced only applies to "SSM Inventory", not to "SSM Automation".

And in fact there is no need for that change at all, since all accounts included in the regional service principal are also included in the global service principal.

We therefore revert all use of SSM service principals to the global one.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
arewa pushed a commit to arewa/aws-cdk that referenced this pull request Oct 8, 2022
…ons (aws#22327)

The change in aws#17047 was based on an eager reading of the documentation. The documentation referenced only applies to "SSM Inventory", not to "SSM Automation".

And in fact there is no need for that change at all, since all accounts included in the regional service principal are also included in the global service principal.

We therefore revert all use of SSM service principals to the global one.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-ssm Related to AWS Systems Manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ssm: service principals are incorrect for all regions since ap-east-1
3 participants