Cannot delete AWS config rule it is grey out

0

Enter image description here

I'm facing an issue with deleting the configuration rule named "account-part-of-organizations-conformance-pack-zw3jpq3ja" in the us-east-1 region. I created from conformance pack and I deleted the entire pack from cloud formation stack(that I left one rule to select in the deletion process).Now that config rule selection is grey out as shown in the photo can neither delete nor edit it. I tried to delete it from aws cli and show me error that It's a service-linked rule, and I lack the necessary permissions to delete or edit it. This resulted in a charge of $0.31 for conformance pack evaluation and conformance pack item recorded. I'm concerned about potential future charges. I follow the steps the below link and give the permission but still having the issue. **https://repost.aws/knowledge-center/delete-config-rule **

This is my permission in json format that I add in IAM policy. I also set it in the permission boundary.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "config:DeleteConfigRule"
            ],
            "Resource": "*"
        }
    ]
}

I also enable service policies in My aws account. The json format is as follow.Enter image description here

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "*",
      "Resource": "*"
    }
  ]
}

Please help me it incur me charges everyday for this rule. Thanks!!

feita há um mês88 visualizações
1 Resposta
2

AWS Config rule is shown "Gray" if it was enabled via Security Hub or Conformance Packs Check your deployed Conformance Packs

https://docs.aws.amazon.com/config/latest/developerguide/conformance-packs.html

profile picture
ESPECIALISTA
respondido há um mês
profile picture
ESPECIALISTA
Artem
avaliado há um mês
  • Hi,I already deleted the conformance packs past few days.Only this config rule remain and cannot do any action.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas