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): Add ServiceLinkedRole #1118

Merged

Conversation

haarchri
Copy link
Member

@haarchri haarchri commented Feb 3, 2022

Signed-off-by: haarchri [email protected]

Description of your changes

added IAM ServiceLinkedRole

Fixes #479

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

NAME               READY   SYNCED   EXTERNAL-NAME
slr-elasticbeanstalk   True    True     AWSServiceRoleForElasticBeanstalk
slr-rds            True    True     AWSServiceRoleForRDS

@haarchri
Copy link
Member Author

haarchri commented Feb 3, 2022

@muvaf as discussed here the PR for IAM Group - with the region field as described here aws-controllers-k8s/community#1150

ack-bot pushed a commit to aws-controllers-k8s/code-generator that referenced this pull request Feb 7, 2022
Signed-off-by: haarchri <[email protected]>

Issue #, if available:
aws-controllers-k8s/community#1150

Description of changes:
skip region for `.APIGroup "iam.aws.crossplane.io"` tested locally with crossplane-contrib/provider-aws#1118 - it is working now 

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
@haarchri
Copy link
Member Author

haarchri commented Feb 7, 2022

First we need to merge #1122 and then we can bump the ack-code-gen commit again

@haarchri haarchri requested a review from muvaf March 7, 2022 16:37
@haarchri
Copy link
Member Author

haarchri commented Mar 7, 2022

rebased & ready for review

@Gowiem
Copy link

Gowiem commented Jun 27, 2022

@haarchri @muvaf Any progress on this work? Being able to create IRSA via Crossplane would be huge.

@MisterMX MisterMX changed the title feat(slr): added IAM ServiceLinkedRole feat(iam): Add IAM ServiceLinkedRole Jul 26, 2023
@MisterMX MisterMX changed the title feat(iam): Add IAM ServiceLinkedRole feat(iam): Add ServiceLinkedRole Jul 26, 2023
@MisterMX MisterMX force-pushed the feature/servicelinkedrole branch 2 times, most recently from 8158858 to 7744114 Compare July 28, 2023 12:39
Signed-off-by: haarchri <[email protected]>
Signed-off-by: Maximilian Blatt (external expert on behalf of DB Netz) <[email protected]>

Co-authored-by: Maximilian Blatt (external expert on behalf of DB Netz) <[email protected]>
Add status info and check if role is actually a service-linked role.
Copy link
Collaborator

@MisterMX MisterMX left a comment

Choose a reason for hiding this comment

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

Rebased the branch on the latest master and added status info as well as a check if the role is actually a serivice-linked role.

Also confirmed that is working. Thank you very much for your contribution @haarchri!

@MisterMX MisterMX merged commit 78c7005 into crossplane-contrib:master Jul 28, 2023
8 checks passed
tektondeploy pushed a commit to gtn3010/provider-aws that referenced this pull request Mar 12, 2024
…sion-crds-conversions

Add conversion functions for handling some breaking API changes
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.

Resource creation fails if the required IAM service linked role is missing
4 participants