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

[New Resource]: Request for application assignment module in IAM Identity Center #28633

Closed
kusumamurri opened this issue Jan 3, 2023 · 14 comments · Fixed by #34741
Closed

[New Resource]: Request for application assignment module in IAM Identity Center #28633

kusumamurri opened this issue Jan 3, 2023 · 14 comments · Fixed by #34741
Assignees
Labels
new-data-source Introduces a new data source. new-resource Introduces a new resource. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. service/ssoadmin Issues and PRs that pertain to the ssoadmin service.
Milestone

Comments

@kusumamurri
Copy link

Description

There is no resource to create application in IAM Identity Center (successor to AWS Single sign-on).
Please provide a resource module to integrate an AWS application with SSO .
screenshot_48

Requested Resource(s) and/or Data Source(s)

aws_ssoadmin_application_assignment

Potential Terraform Configuration

No response

References

No response

Would you like to implement a fix?

None

@kusumamurri kusumamurri added the needs-triage Waiting for first response or review from a maintainer. label Jan 3, 2023
@github-actions
Copy link

github-actions bot commented Jan 3, 2023

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@justinretzolk justinretzolk added new-resource Introduces a new resource. new-data-source Introduces a new data source. service/iam Issues and PRs that pertain to the iam service. service/ssoadmin Issues and PRs that pertain to the ssoadmin service. and removed service/iam Issues and PRs that pertain to the iam service. needs-triage Waiting for first response or review from a maintainer. labels Jan 3, 2023
@Fennerr
Copy link

Fennerr commented Jul 22, 2023

Any update on this resource? It would help integrate IAM Identity Center with an Amazon Cognito user pool.

@steve-todorov
Copy link

We are also interested in this feature and would like to automate the provisioning of custom SAML applications.

@mtavaresmedeiros
Copy link

+1

1 similar comment
@duenzo
Copy link

duenzo commented Aug 31, 2023

+1

@breathingdust breathingdust added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Oct 24, 2023
@ugurcancaykara
Copy link

+1

1 similar comment
@jclRatepay
Copy link
Contributor

+1

@jclRatepay
Copy link
Contributor

jclRatepay commented Nov 2, 2023

Wanted to share the following, latest finding regarding this topic:
We were thinking about getting around the missing Terraform "application assignment module" by setting up a CloudFormation template for handling this application assignment and execute this template via Terraform instead. But after checking the CloudFormation Template Reference and finding no entry regarding the Identicy Center Application Assignment here as well, I dived a bit deeper and revealed that the blocker for implementing the requested Terraform module is not on the AWS Provider side, but on the AWS side, as in the API reference e.g. the "CreateApplicationInstance" (which is the proper Action Name according to the IAM documentation) is not even listed. So I would guess, that no matter which workaround one might comes up with, automating the Identity Center Application Assignment is jsut not possible atm :(

Edit: Even just found an AWS re:post entry confirming this assumption

@peterbev
Copy link

AWS have finally provided APIs for application assignments - https://aws.amazon.com/about-aws/whats-new/2023/11/aws-iam-identity-center-apis-automate-access-applications/

Hopefully that unblocks this, and we get an aws_ssoadmin_application_assignment resource 😄

@jclRatepay
Copy link
Contributor

This actually are really great news, thanks a lot for sharing it :)

@deepakbshetty
Copy link
Contributor

AWS API Ref:
https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_CreateApplicationAssignment.html

AWS CLI ref: https://docs.aws.amazon.com/cli/latest/reference/sso-admin/create-application-assignment.html

Another use case around this is AWS Sagemaker domain in SSO mode which currently lacks ability to assign users/groups via IaC

This now possible via create_application_assignment:
applicationArn = sagemaker_client.describe_domain(domainId = "d-xxx")["SingleSignOnApplicationArn"] idc_client.create_application_assignment(applicationArn = applicationArn, principalId="userId/groupId", principalType="USER/GROUP")

Ref: https://aws.amazon.com/blogs/machine-learning/onboard-users-to-amazon-sagemaker-studio-with-active-directory-group-specific-iam-roles/

@oleksandrsv
Copy link

I just got reply from AWS Support that it is not possible to assign to AWS SSO Application users or groups, sounds urgent to implement, wdyt?

Copy link

github-actions bot commented Dec 7, 2023

This functionality has been released in v5.30.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

github-actions bot commented Jan 7, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-data-source Introduces a new data source. new-resource Introduces a new resource. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. service/ssoadmin Issues and PRs that pertain to the ssoadmin service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.