{ "version": 4, "terraform_version": "1.3.0", "serial": 532, "lineage": "58d5957c-dfb9-d1c5-b9ce-a14815d46bcd", "outputs": { "iam-user1-access-key": { "value": "none", "type": "string" }, "iam-user1-access-key-pgp": { "value": "AKIAQSXIRFROOWPOZRPO", "type": "string" }, "iam-user1-arn": { "value": "arn:aws:iam::040216112220:user/UserNoGroup001", "type": "string" }, "iam-user1-pass-pgp": { "value": "wcDMA3pyazT9EturAQwA5OJsNQi0NQgktGsNbZNAzkZy/g7+GH+n76KqS1xvuvLVJnbQJ9z+53cPEFWmAAzfr3DsT5MjoFrLtJBA2LG9a6dnQZ+Doy3tn/UTqvp+Ttn1UN8Ky8m6rJHHWnN16+uNEaOl75JJuC9P+v+azdG8Q5XOcS2WD85XAR3NRx4F6lYld5DOKVLkrJP05NGUgRgnnwCcUAz/GPZhhTNwDciBD45AN0Ukm9z7uEeRA21vtJFjvZgP/zPqM4DJ0oA/0F0Kgqmfut/XygPhe3AR5cLJW2w0jdlQP0UaXw5pobEsgBbgQLg4kNlxuG/ay08IbkXQ6p3TpGzybgWgTQjGTEtu8A72ZBZuPyRRtMTsArRB4tSK6wXTh95SaVWzEgi5p/k2qmuRN55BVNg17yFQ6posisP+gNt8RdOFcdDG0vtzglJ0OrNMxB6gv/CS8jWnPLcfqoYentYyfKVjeHuSWk5GMlX8ZYWjdXwYtMXmvNrvAdzICuGXW9uAj3r/4sA52rbx0kUBbhA/F3KyZ7/s32JqKCiMt6rcY47TuwObU27e4gprRCyKewMxtanBDbTROtusaNztQym1CRV8TQTx6OzqqpAYzKc+3YY=", "type": "string" }, "iam-user1-secret-key-pgp": { "value": "wcDMA3pyazT9EturAQv/fzPM5sSUgbBqwqVq+eK/F7JR1oDrxCvYslGf0Ro8ofyeTvpmnDGg3oCTKuGAZiVBydMpwyqAKQ7gzF6ZD4wSJgxOqPcHQcdMyxfkTXnotV1B3UlTnvJ81xIzXAjDiSyCO1kPUBESu/LFPMriVOBEY63NsPO2qbASD+WK4b3eTaGQ1O+/kIcH18v0CmcKm4i1V5ByGw9oSEGXNK2msw9/GoqCOm5Mwoyhcw5YabhEiTSiaWTAUHzukgH5UDxqm4QSDJSg1yHK06G1zuIXTV5UpY5HUwOf8odayuRk45omx9BSo+x00WqFyCq2rVKAy2A5o4ntl8X94r3LIw9g98m7HOT7qsgxJjmCjCqGwbEsFi2GXX9P3Q2MPQwCfGH/5M10Xfd3r+I1SCD+LG15r8qSaWAkt6vUETI4Uyoc5le50QL66peH7z6Cke0WXt8V9C3NpBOvyMGclyBeQxn27Xs2YJYWwNmlMvK9yxdqJ1e5GygF1wBSpJf4c6zcwUpEXw5w0lkBFNada/j5e4gwZzblkELFyNTBFDfDpTgIhs51kiVsrRRxZP5bQk6Qt9VOD7TUA8VZRoctNmOcTOvkOOPI8YBm6wGxdnbqWt26qVWdg5OBsJ/+0eVeLGZpPg==", "type": "string" }, "iam-user2-arn": { "value": "arn:aws:iam::040216112220:user/UserInGroup001", "type": "string" } }, "resources": [ { "mode": "data", "type": "aws_iam_policy_document", "name": "user-policy", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "id": "2424462252", "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"s3admin\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:*\",\n \"Resource\": \"*\"\n }\n ]\n}", "override_json": null, "override_policy_documents": null, "policy_id": null, "source_json": null, "source_policy_documents": null, "statement": [ { "actions": [ "s3:*" ], "condition": [], "effect": "Allow", "not_actions": [], "not_principals": [], "not_resources": [], "principals": [], "resources": [ "*" ], "sid": "s3admin" } ], "version": "2012-10-17" }, "sensitive_attributes": [] } ] }, { "module": "module.iam-group", "mode": "managed", "type": "aws_iam_group", "name": "iam-group", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "arn": "arn:aws:iam::040216112220:group/ViewOnlyUsers001", "id": "ViewOnlyUsers001", "name": "ViewOnlyUsers001", "path": "/", "unique_id": "AGPAQSXIRFRONRTCXF5F2" }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.iam-group", "mode": "managed", "type": "aws_iam_group_policy_attachment", "name": "iam-group-managed-policies", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "index_key": 0, "schema_version": 0, "attributes": { "group": "ViewOnlyUsers001", "id": "ViewOnlyUsers001-20221020005608298800000002", "policy_arn": "arn:aws:iam::aws:policy/job-function/ViewOnlyAccess" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "module.iam-group.aws_iam_group.iam-group" ] } ] }, { "module": "module.iam-group2", "mode": "managed", "type": "aws_iam_group", "name": "iam-group", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "arn": "arn:aws:iam::040216112220:group/ViewOnlyAndS3Admin001", "id": "ViewOnlyAndS3Admin001", "name": "ViewOnlyAndS3Admin001", "path": "/", "unique_id": "AGPAQSXIRFROL2K54KHPT" }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.iam-group2", "mode": "managed", "type": "aws_iam_group_policy", "name": "iam-group-policy-new-group", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "index_key": 0, "schema_version": 0, "attributes": { "group": "ViewOnlyAndS3Admin001", "id": "ViewOnlyAndS3Admin001:S3AdminPermissions", "name": "S3AdminPermissions", "name_prefix": null, "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"s3admin\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:*\",\n \"Resource\": \"*\"\n }\n ]\n}" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "data.aws_iam_policy_document.user-policy", "module.iam-group2.aws_iam_group.iam-group" ] } ] }, { "module": "module.iam-group2", "mode": "managed", "type": "aws_iam_group_policy_attachment", "name": "iam-group-managed-policies", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "index_key": 0, "schema_version": 0, "attributes": { "group": "ViewOnlyAndS3Admin001", "id": "ViewOnlyAndS3Admin001-20221020005608292300000001", "policy_arn": "arn:aws:iam::aws:policy/job-function/ViewOnlyAccess" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "module.iam-group2.aws_iam_group.iam-group" ] } ] }, { "module": "module.iam-user1", "mode": "data", "type": "aws_iam_policy_document", "name": "user-policy", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "id": "2600426768", "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"ManageOwnCredentials\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"iam:ResyncMFADevice\",\n \"iam:ListVirtualMFA*\",\n \"iam:ListMFA*\",\n \"iam:ListAccessKey\",\n \"iam:EnableMFADevice\",\n \"iam:DeleteAccessKey\",\n \"iam:CreateVirtualMFADevice\",\n \"iam:CreateAccessKey\",\n \"iam:ChangePassword\"\n ],\n \"Resource\": \"arn:aws:iam::account-id:user/UserNoGroup001\"\n }\n ]\n}", "override_json": null, "override_policy_documents": null, "policy_id": null, "source_json": null, "source_policy_documents": null, "statement": [ { "actions": [ "iam:ChangePassword", "iam:CreateAccessKey", "iam:CreateVirtualMFADevice", "iam:DeleteAccessKey", "iam:EnableMFADevice", "iam:ListAccessKey", "iam:ListMFA*", "iam:ListVirtualMFA*", "iam:ResyncMFADevice" ], "condition": [], "effect": "Allow", "not_actions": [], "not_principals": [], "not_resources": [], "principals": [], "resources": [ "arn:aws:iam::account-id:user/UserNoGroup001" ], "sid": "ManageOwnCredentials" } ], "version": "2012-10-17" }, "sensitive_attributes": [] } ] }, { "module": "module.iam-user1", "mode": "managed", "type": "aws_iam_access_key", "name": "iam-user-access-key-pgp", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "index_key": 0, "schema_version": 0, "attributes": { "create_date": "2022-10-20T00:56:08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kQzU/2eT8Jq4aKugwAiNYSNwonzR15p24zsfLqxBeNLmtt\nXcoorlpmSPAQFr9gMUY94I+ZH4jKydhz8H5oEuxHnM4VQIs1OAH9YQqG/m8aq91i+Gva3quSjdTN\nXl6lnPnC1eZKJbm04U2Uj73cAtt+rGJoqvZiEOme2LqQtmiQhJh5ASMX+W9d3bCnogML/CHVRV0t\nhVf5tudCK8R+KwcNV1NjvH7sVbtxfpJTeZtP7hIxhEUnTnjetd54UJKBQ3yFuDXD2d0nuuCSz1qO\n8C/HYe672m2slVZfX5eTQItVd3wPCc9Zfum3zTMuFTFb8en9cOUzLynfzOwj2+FGwlwaWUppUBH/\nD8HUCIzKJcXVHHCi3pww8TSVoD+n545kUhyJwh+qxWtttm4Hs0al3t0QGuaD6RHGtpdqZ8jgRY8Q\nFLiCnhBm3F0GWXkbKUfH2zVPSexsPSp/DH1hjy7s+ugIJZ75+JzXfFL45C2aXhArKdCFqQQlVFh7\nB92IFh1fiCOyTmXkDWiNOa5jY9mN\n", "secret": null, "ses_smtp_password_v4": null, "status": "Active", "user": "UserNoGroup001" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "module.iam-user1.aws_iam_user.iam-user" ] } ] }, { "module": "module.iam-user1", "mode": "managed", "type": "aws_iam_user", "name": "iam-user", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "arn": "arn:aws:iam::040216112220:user/UserNoGroup001", "force_destroy": true, "id": "UserNoGroup001", "name": "UserNoGroup001", "path": "/", "permissions_boundary": null, "tags": { "Application": "terraform", "BuildDate": "20221020", "CostCenter": "none", "Environment": "dev", "Owner": "Rackspace", "Project": "iac", "ServiceProvider": "RackspaceTechnology", "TerraformMode": "managed" }, "tags_all": { "Application": "terraform", "BuildDate": "20221020", "CostCenter": "none", "Environment": "dev", "Owner": "Rackspace", "Project": "iac", "ServiceProvider": "RackspaceTechnology", "TerraformMode": "managed" }, "unique_id": "AIDAQSXIRFROJW2NMAYS6" }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.iam-user1", "mode": "managed", "type": "aws_iam_user_login_profile", "name": "iam-user-profile-pgp", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "index_key": 0, "schema_version": 0, "attributes": { "encrypted_password": "wcDMA3pyazT9EturAQwA5OJsNQi0NQgktGsNbZNAzkZy/g7+GH+n76KqS1xvuvLVJnbQJ9z+53cPEFWmAAzfr3DsT5MjoFrLtJBA2LG9a6dnQZ+Doy3tn/UTqvp+Ttn1UN8Ky8m6rJHHWnN16+uNEaOl75JJuC9P+v+azdG8Q5XOcS2WD85XAR3NRx4F6lYld5DOKVLkrJP05NGUgRgnnwCcUAz/GPZhhTNwDciBD45AN0Ukm9z7uEeRA21vtJFjvZgP/zPqM4DJ0oA/0F0Kgqmfut/XygPhe3AR5cLJW2w0jdlQP0UaXw5pobEsgBbgQLg4kNlxuG/ay08IbkXQ6p3TpGzybgWgTQjGTEtu8A72ZBZuPyRRtMTsArRB4tSK6wXTh95SaVWzEgi5p/k2qmuRN55BVNg17yFQ6posisP+gNt8RdOFcdDG0vtzglJ0OrNMxB6gv/CS8jWnPLcfqoYentYyfKVjeHuSWk5GMlX8ZYWjdXwYtMXmvNrvAdzICuGXW9uAj3r/4sA52rbx0kUBbhA/F3KyZ7/s32JqKCiMt6rcY47TuwObU27e4gprRCyKewMxtanBDbTROtusaNztQym1CRV8TQTx6OzqqpAYzKc+3YY=", "id": "UserNoGroup001", "key_fingerprint": "5fb0eceadfea9004547daa15cd4ff6793f09ab86", "password": null, "password_length": 20, "password_reset_required": false, "pgp_key": "mQGNBFwvcRcBDADFUwrq87O8Xe0A0m+8sBAfp9N9NfVf1DjF6u2fRNOyCe0wP7ZakmPC/lot3eAn\n9Ztd/S4ReY5o8G6O7euRsa9ha2jmOAKmChOsbAYJogz9+MI4mxKY38XyKN7qItfwDQhanAktgx+P\nBKmeBOzVPEslKb2F/bf32UilxwDdstxHBq7XObO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Oa5jY9mN\n", "user": "UserNoGroup001" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "module.iam-user1.aws_iam_user.iam-user" ] } ] }, { "module": "module.iam-user1", "mode": "managed", "type": "aws_iam_user_policy", "name": "iam-user-selfservice-policy", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "id": "UserNoGroup001:SelfServicePermissions", "name": "SelfServicePermissions", "name_prefix": null, "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"ManageOwnCredentials\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"iam:ResyncMFADevice\",\n \"iam:ListVirtualMFA*\",\n \"iam:ListMFA*\",\n \"iam:ListAccessKey\",\n \"iam:EnableMFADevice\",\n \"iam:DeleteAccessKey\",\n \"iam:CreateVirtualMFADevice\",\n \"iam:CreateAccessKey\",\n \"iam:ChangePassword\"\n ],\n \"Resource\": \"arn:aws:iam::account-id:user/UserNoGroup001\"\n }\n ]\n}", "user": "UserNoGroup001" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "module.iam-user1.aws_iam_user.iam-user", "module.iam-user1.data.aws_iam_policy_document.user-policy" ] } ] }, { "module": "module.iam-user1", "mode": "managed", "type": "aws_iam_user_policy_attachment", "name": "iam-user-managed-policies", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "index_key": 0, "schema_version": 0, "attributes": { "id": "UserNoGroup001-20221020005608303300000003", "policy_arn": "arn:aws:iam::aws:policy/job-function/ViewOnlyAccess", "user": "UserNoGroup001" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "module.iam-user1.aws_iam_user.iam-user" ] } ] }, { "module": "module.iam-user1", "mode": "managed", "type": "aws_secretsmanager_secret", "name": "secretmanager", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "index_key": 0, "schema_version": 0, "attributes": { "arn": "arn:aws:secretsmanager:ap-east-1:040216112220:secret:IamUserCredential-3122855049-UserNoGroup001-CMRrPv", "description": "AWS resource credential", "force_overwrite_replica_secret": false, "id": "arn:aws:secretsmanager:ap-east-1:040216112220:secret:IamUserCredential-3122855049-UserNoGroup001-CMRrPv", "kms_key_id": "", "name": "IamUserCredential-3122855049-UserNoGroup001", "name_prefix": "", "policy": "", "recovery_window_in_days": 30, "replica": [], "rotation_enabled": false, "rotation_lambda_arn": "", "rotation_rules": [], "tags": { "Application": "terraform", "BuildDate": "20221020", "CostCenter": "none", "Environment": "dev", "Owner": "Rackspace", "Project": "iac", "ServiceProvider": "RackspaceTechnology", "TerraformMode": "managed" }, "tags_all": { "Application": "terraform", "BuildDate": "20221020", "CostCenter": "none", "Environment": "dev", "Owner": "Rackspace", "Project": "iac", "ServiceProvider": "RackspaceTechnology", "TerraformMode": "managed" } }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "module.iam-user1.random_id.secrets-random-id" ] } ] }, { "module": "module.iam-user1", "mode": "managed", "type": "aws_secretsmanager_secret_version", "name": "iam-user-secret", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "index_key": 0, "schema_version": 0, "attributes": { "arn": "arn:aws:secretsmanager:ap-east-1:040216112220:secret:IamUserCredential-3122855049-UserNoGroup001-CMRrPv", "id": "arn:aws:secretsmanager:ap-east-1:040216112220:secret:IamUserCredential-3122855049-UserNoGroup001-CMRrPv|B38A89D2-2C00-40A3-B3EE-CFD2F9204311", "secret_binary": "", "secret_id": "arn:aws:secretsmanager:ap-east-1:040216112220:secret:IamUserCredential-3122855049-UserNoGroup001-CMRrPv", "secret_string": "{\"AccessKeyId\":\"NotSet\",\"ConsolePassword\":\"QdpV$e}w]0xpKcmm6o%!\",\"KeySecret\":\"NotSet\"}", "version_id": "B38A89D2-2C00-40A3-B3EE-CFD2F9204311", "version_stages": [ "AWSCURRENT" ] }, "sensitive_attributes": [ [ { "type": "get_attr", "value": "secret_string" } ] ], "private": "bnVsbA==", "dependencies": [ "module.iam-user1.aws_iam_access_key.iam-user-access-key", "module.iam-user1.aws_secretsmanager_secret.secretmanager", "module.iam-user1.random_id.secrets-random-id", "module.iam-user1.random_password.iam-user-pass" ] } ] }, { "module": "module.iam-user1", "mode": "managed", "type": "random_id", "name": "secrets-random-id", "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", "instances": [ { "schema_version": 0, "attributes": { "b64_std": "uiL8iQ==", "b64_url": "uiL8iQ", "byte_length": 4, "dec": "3122855049", "hex": "ba22fc89", "id": "uiL8iQ", "keepers": null, "prefix": null }, "sensitive_attributes": [] } ] }, { "module": "module.iam-user1", "mode": "managed", "type": "random_password", "name": "iam-user-pass", "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", "instances": [ { "index_key": 0, "schema_version": 3, "attributes": { "bcrypt_hash": "$2a$10$Lp9gvqvgb/XOnXgTic6kJOKPic9KRmak/bOQz720zlpU7DG0KwIpO", "id": "none", "keepers": null, "length": 20, "lower": true, "min_lower": 0, "min_numeric": 0, "min_special": 0, "min_upper": 0, "number": true, "numeric": true, "override_special": null, "result": "QdpV$e}w]0xpKcmm6o%!", "special": true, "upper": true }, "sensitive_attributes": [] } ] }, { "module": "module.iam-user2", "mode": "data", "type": "aws_iam_policy_document", "name": "user-policy", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "id": "4218331518", "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"ManageOwnCredentials\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"iam:ResyncMFADevice\",\n \"iam:ListVirtualMFA*\",\n \"iam:ListMFA*\",\n \"iam:ListAccessKey\",\n \"iam:EnableMFADevice\",\n \"iam:DeleteAccessKey\",\n \"iam:CreateVirtualMFADevice\",\n \"iam:CreateAccessKey\",\n \"iam:ChangePassword\"\n ],\n \"Resource\": \"arn:aws:iam::account-id:user/UserInGroup001\"\n }\n ]\n}", "override_json": null, "override_policy_documents": null, "policy_id": null, "source_json": null, "source_policy_documents": null, "statement": [ { "actions": [ "iam:ChangePassword", "iam:CreateAccessKey", "iam:CreateVirtualMFADevice", "iam:DeleteAccessKey", "iam:EnableMFADevice", "iam:ListAccessKey", "iam:ListMFA*", "iam:ListVirtualMFA*", "iam:ResyncMFADevice" ], "condition": [], "effect": "Allow", "not_actions": [], "not_principals": [], "not_resources": [], "principals": [], "resources": [ "arn:aws:iam::account-id:user/UserInGroup001" ], "sid": "ManageOwnCredentials" } ], "version": "2012-10-17" }, "sensitive_attributes": [] } ] }, { "module": "module.iam-user2", "mode": "managed", "type": "aws_iam_group_membership", "name": "group-membership", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "index_key": "ViewOnlyUsers001", "schema_version": 0, "attributes": { "group": "ViewOnlyUsers001", "id": "MembershipToExistingGroups", "name": "MembershipToExistingGroups", "users": [ "UserInGroup001" ] }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "module.iam-group.aws_iam_group.iam-group", "module.iam-user2.aws_iam_user.iam-user" ] } ] }, { "module": "module.iam-user2", "mode": "managed", "type": "aws_iam_user", "name": "iam-user", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "arn": "arn:aws:iam::040216112220:user/UserInGroup001", "force_destroy": true, "id": "UserInGroup001", "name": "UserInGroup001", "path": "/", "permissions_boundary": null, "tags": { "Application": "terraform", "BuildDate": "20221020", "CostCenter": "none", "Environment": "dev", "Owner": "Rackspace", "Project": "iac", "ServiceProvider": "RackspaceTechnology", "TerraformMode": "managed" }, "tags_all": { "Application": "terraform", "BuildDate": "20221020", "CostCenter": "none", "Environment": "dev", "Owner": "Rackspace", "Project": "iac", "ServiceProvider": "RackspaceTechnology", "TerraformMode": "managed" }, "unique_id": "AIDAQSXIRFROHECOCQVO3" }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.iam-user2", "mode": "managed", "type": "aws_iam_user_policy", "name": "iam-user-policy", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "index_key": 0, "schema_version": 0, "attributes": { "id": "UserInGroup001:S3AdminPermissions", "name": "S3AdminPermissions", "name_prefix": null, "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"s3admin\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:*\",\n \"Resource\": \"*\"\n }\n ]\n}", "user": "UserInGroup001" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "data.aws_iam_policy_document.user-policy", "module.iam-user2.aws_iam_user.iam-user" ] } ] }, { "module": "module.iam-user2", "mode": "managed", "type": "aws_iam_user_policy", "name": "iam-user-selfservice-policy", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "id": "UserInGroup001:SelfServicePermissions", "name": "SelfServicePermissions", "name_prefix": null, "policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"ManageOwnCredentials\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"iam:ResyncMFADevice\",\n \"iam:ListVirtualMFA*\",\n \"iam:ListMFA*\",\n \"iam:ListAccessKey\",\n \"iam:EnableMFADevice\",\n \"iam:DeleteAccessKey\",\n \"iam:CreateVirtualMFADevice\",\n \"iam:CreateAccessKey\",\n \"iam:ChangePassword\"\n ],\n \"Resource\": \"arn:aws:iam::account-id:user/UserInGroup001\"\n }\n ]\n}", "user": "UserInGroup001" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "module.iam-user2.aws_iam_user.iam-user", "module.iam-user2.data.aws_iam_policy_document.user-policy" ] } ] }, { "module": "module.iam-user2", "mode": "managed", "type": "random_id", "name": "secrets-random-id", "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", "instances": [ { "schema_version": 0, "attributes": { "b64_std": "9ZF4XA==", "b64_url": "9ZF4XA", "byte_length": 4, "dec": "4119951452", "hex": "f591785c", "id": "9ZF4XA", "keepers": null, "prefix": null }, "sensitive_attributes": [] } ] } ], "check_results": [] }