Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: split modules #58

Merged
merged 1 commit into from
Oct 26, 2024
Merged

chore: split modules #58

merged 1 commit into from
Oct 26, 2024

Conversation

notdodo
Copy link
Owner

@notdodo notdodo commented Oct 26, 2024

No description provided.

Copy link

🍹 preview on erfiume/notdodo/erfiume/production

Pulumi report
  Previewing update (production)

View Live: https://app.pulumi.com/notdodo/erfiume/production/previews/351333a5-f81c-4f2e-9584-2242716b100b

pulumi:pulumi:Stack: (same)
  [urn=urn:pulumi:production::erfiume::pulumi:pulumi:Stack::erfiume-production]
  ~ aws:iam/role:Role: (update)
        [id=erfiume-bot]
      [urn=urn:pulumi:production::erfiume::aws:iam/role:Role::erfiume-bot]
      [provider=urn:pulumi:production::erfiume::pulumi:providers:aws::default_6_56_1::81c4eab1-dfea-4014-819e-e013312a4775]
      ~ inlinePolicies: [
          ~ [0]: {
                  ~ name  : "BotRole" => "BotRole"
                  ~ policy: (json) {
                      ~ Statement: [
                            [0]: {
                                  Action  : [
                                      [0]: "dynamodb:UpdateItem"
                                      [1]: "dynamodb:Query"
                                      [2]: "dynamodb:GetItem"
                                  ]
                                  Effect  : "Allow"
                                  Resource: [
                                      [0]: "arn:aws:dynamodb:eu-west-1:841162699174:table/Stazioni"
                                      [1]: "arn:aws:dynamodb:eu-west-1:841162699174:table/Chats"
                                  ]
                              }
                          [1]: {
                                  Action  : "dynamodb:PutItem"
                                  Effect  : "Allow"
                                  Resource: "arn:aws:dynamodb:eu-west-1:841162699174:table/Chats"
                              }
                          - [2]: {
                                  - Action  : "secretsmanager:GetSecretValue"
                                  - Effect  : "Allow"
                                  - Resource: "arn:aws:secretsmanager:eu-west-1:841162699174:secret:telegram-bot-token-D7czV2"
                                }
                        ]
                        Version  : "2012-10-17"
                    }
                }
        ]
    ~ aws:scheduler/schedule:Schedule: (update)
        [id=default/erfiume-fetcher]
      [urn=urn:pulumi:production::erfiume::aws:scheduler/schedule:Schedule::erfiume-fetcher]
      [provider=urn:pulumi:production::erfiume::pulumi:providers:aws::default_6_56_1::81c4eab1-dfea-4014-819e-e013312a4775]
      ~ scheduleExpression: "rate(20 minutes)" => "rate(1440 minutes)"
    - aws:secretsmanager/secret:Secret: (delete)
        [id=arn:aws:secretsmanager:eu-west-1:841162699174:secret:telegram-bot-token-D7czV2]
        [urn=urn:pulumi:production::erfiume::aws:secretsmanager/secret:Secret::erfiume-telegram-bot-token]
        [provider=urn:pulumi:production::erfiume::pulumi:providers:aws::default_6_56_1::81c4eab1-dfea-4014-819e-e013312a4775]
        description                : "The Telegram Bot token for erfiume_bot"
        forceOverwriteReplicaSecret: false
        name                       : "telegram-bot-token"
        recoveryWindowInDays       : 7
        tags                       : {
            environment: "production"
            project    : "erfiume"
        }
        tagsAll                    : {
            environment: "production"
            project    : "erfiume"
        }
Resources:
  ~ 2 to update
  - 1 to delete
  3 changes. 16 unchanged
  

@notdodo notdodo merged commit eff46cb into main Oct 26, 2024
12 checks passed
@notdodo notdodo deleted the code_smell branch October 26, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant