Skip to content

Commit

Permalink
adding output for sagemaker role + s3 assume role
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jul 20, 2021
1 parent 0928e33 commit 6aa4615
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions _output.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
output "sagemaker_role_arn" {
value = aws_iam_role.execution_role.arn
}

output "sagemaker_role_name" {
value = aws_iam_role.execution_role.id
}

output "sagemaker_security_group" {
value = aws_security_group.sagemakerstudio.id
}
5 changes: 5 additions & 0 deletions sagemaker_domain.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ data "aws_iam_policy_document" "execution_role_policy" {
type = "Service"
identifiers = ["sagemaker.amazonaws.com"]
}

principals {
type = "Service"
identifiers = ["s3.amazonaws.com"]
}
}
}

Expand Down

0 comments on commit 6aa4615

Please sign in to comment.