File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
roles/platform/template/aws Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,18 @@ resource "aws_iam_instance_profile" "{{ plat__aws_idbroker_role_name }}-instance
7070}
7171
7272# Attach CDP IDBroker Assume Policy to the Role
73- resource "aws_iam_role_policy_attachment" "{{ plat__aws_idbroker_role_name }}-attach " {
73+ resource "aws_iam_role_policy_attachment" "{{ plat__aws_idbroker_role_name }}-attach1 " {
7474 role = aws_iam_role.{{ plat__aws_idbroker_role_name }}.name
7575 policy_arn = aws_iam_policy.{{ plat__aws_idbroker_policy_name }}.arn
7676}
7777
78+ # Attach AWS Log Location Policy to the Role
79+ resource "aws_iam_role_policy_attachment" "{{ plat__aws_idbroker_role_name }}-attach2" {
80+
81+ role = aws_iam_role.{{ plat__aws_idbroker_role_name }}.name
82+ policy_arn = aws_iam_policy.{{ plat__aws_log_location_policy_name }}.arn
83+ }
84+
7885# ------- AWS Service Roles - CDP Log -------
7986# First create the Assume role policy document
8087data "aws_iam_policy_document" "{{ plat__aws_log_role_name }}-policy-doc" {
You can’t perform that action at this time.
0 commit comments