Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Solr Broker User Permission Mark 4 #169

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

nickumia-reisys
Copy link
Contributor

@nickumia-reisys nickumia-reisys commented Nov 1, 2022

Related to

Fixes

  • Error: error retrieving LB Attributes: AccessDenied: User: ssb-solr-broker is not authorized to perform: elasticloadbalancing:DescribeLoadBalancerAttributes
  • Switch from individual ELB permission to ELB Full Access

References:

@nickumia-reisys nickumia-reisys temporarily deployed to production November 1, 2022 15:13 Inactive
@nickumia-reisys nickumia-reisys temporarily deployed to staging November 1, 2022 15:13 Inactive
@nickumia-reisys nickumia-reisys requested a review from a team November 1, 2022 15:13
@github-actions
Copy link

github-actions bot commented Nov 1, 2022

Terraform plan for staging

Plan: 1 to add, 1 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place

Terraform will perform the following actions:

  # aws_iam_user_policy_attachment.solr_broker_policies["arn:aws:iam::aws:policy/ElasticLoadBalancingFullAccess"] will be created
  + resource "aws_iam_user_policy_attachment" "solr_broker_policies" {
      + id         = (known after apply)
      + policy_arn = "arn:aws:iam::aws:policy/ElasticLoadBalancingFullAccess"
      + user       = "ssb-solr-broker"
    }

  # module.solr_brokerpak_policy.aws_iam_policy.policy will be updated in-place
  ~ resource "aws_iam_policy" "policy" {
        id          = "arn:aws:iam::054110281448:policy/solr_brokerpak_policy"
        name        = "solr_brokerpak_policy"
      ~ policy      = jsonencode(
          ~ {
              ~ Statement = [
                  ~ {
                      ~ Action   = [
                          - "elasticloadbalancing:ModifyLoadBalancerAttributes",
                          - "elasticloadbalancing:DescribeTargetGroupAttributes",
                            "iam:CreateUser",
                            # (56 unchanged elements hidden)
                        ]
                        # (2 unchanged elements hidden)
                    },
                ]
                # (1 unchanged element hidden)
            }
        )
        tags        = {}
        # (5 unchanged attributes hidden)
    }

Plan: 1 to add, 1 to change, 0 to destroy.

✅ Plan applied in apply #116

@github-actions
Copy link

github-actions bot commented Nov 1, 2022

Terraform plan for production

Plan: 1 to add, 1 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place

Terraform will perform the following actions:

  # aws_iam_user_policy_attachment.solr_broker_policies["arn:aws:iam::aws:policy/ElasticLoadBalancingFullAccess"] will be created
  + resource "aws_iam_user_policy_attachment" "solr_broker_policies" {
      + id         = (known after apply)
      + policy_arn = "arn:aws:iam::aws:policy/ElasticLoadBalancingFullAccess"
      + user       = "ssb-solr-broker"
    }

  # module.solr_brokerpak_policy.aws_iam_policy.policy will be updated in-place
  ~ resource "aws_iam_policy" "policy" {
        id          = "arn:aws:iam::821341638715:policy/solr_brokerpak_policy"
        name        = "solr_brokerpak_policy"
      ~ policy      = jsonencode(
          ~ {
              ~ Statement = [
                  ~ {
                      ~ Action   = [
                          - "elasticloadbalancing:ModifyLoadBalancerAttributes",
                          - "elasticloadbalancing:DescribeTargetGroupAttributes",
                            "iam:CreateUser",
                            # (56 unchanged elements hidden)
                        ]
                        # (2 unchanged elements hidden)
                    },
                ]
                # (1 unchanged element hidden)
            }
        )
        tags        = {}
        # (5 unchanged attributes hidden)
    }

Plan: 1 to add, 1 to change, 0 to destroy.

✅ Plan applied in apply #116

@nickumia-reisys nickumia-reisys merged commit a41f87e into main Nov 1, 2022
@nickumia-reisys nickumia-reisys deleted the add-permissions-to-solr-user-4 branch November 1, 2022 15:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants