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

Add DB #2

Merged
merged 1 commit into from
Jul 16, 2022
Merged

Add DB #2

merged 1 commit into from
Jul 16, 2022

Conversation

berviantoleo
Copy link
Member

No description provided.

@github-actions
Copy link

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Terraform Validation 🤖success

Show Plan ```

terraform
Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

To view this run in a browser, visit:
https://app.terraform.io/app/bervproject/lambda/runs/run-T2EpQM2GN4d36ef9

Waiting for the plan to start...

Terraform v1.1.9
on linux_amd64
Initializing plugins and modules...
random_password.password: Refreshing state... [id=none]
aws_secretsmanager_secret.lambda_container_demo_prod: Refreshing state... [id=arn:aws:secretsmanager:ap-southeast-1:092318301320:secret:lambda_container_demo_prod-FdZxr8]
aws_iam_role.iam_for_lambda: Refreshing state... [id=iam_for_lambda]
aws_db_instance.lambda_container_demo_prod: Refreshing state... [id=db-lambda]
aws_secretsmanager_secret_version.lambda_container_demo_prod_db: Refreshing state... [id=arn:aws:secretsmanager:ap-southeast-1:092318301320:secret:lambda_container_demo_prod-FdZxr8|AF77F4C6-85EF-405B-9C5D-9F443BA7E732]
aws_lambda_function.lambda_container_demo: Refreshing state... [id=lambda_container_demo]
aws_lambda_function_url.lambda_container_demo_prod: Refreshing state... [id=lambda_container_demo]
aws_lambda_function_url.lambda_container_demo_dev: Refreshing state... [id=lambda_container_demo]

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply":

aws_lambda_function_url.lambda_container_demo_prod has changed

~ resource "aws_lambda_function_url" "lambda_container_demo_prod" {
~ authorization_type = "AWS_IAM" -> "NONE"
id = "lambda_container_demo"
# (4 unchanged attributes hidden)

  ~ cors {
      ~ allow_methods     = [
          - "*",
          + "DELETE",
          + "GET",
          + "POST",
          + "PUT",
        ]
      ~ max_age           = 86400 -> 300
        # (4 unchanged attributes hidden)
    }
}

Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place

Terraform will perform the following actions:

aws_lambda_function_url.lambda_container_demo_prod will be updated in-place

~ resource "aws_lambda_function_url" "lambda_container_demo_prod" {
~ authorization_type = "NONE" -> "AWS_IAM"
id = "lambda_container_demo"
# (4 unchanged attributes hidden)

  ~ cors {
      ~ allow_methods     = [
          + "*",
          - "DELETE",
          - "GET",
          - "POST",
          - "PUT",
        ]
      ~ max_age           = 300 -> 86400
        # (4 unchanged attributes hidden)
    }
}

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

│ Warning: Value for undeclared variable

│ The root module does not declare a variable named "AWS_SECRET_ACCESS_KEY"
│ but a value was found in file
│ "/home/tfc-agent/.tfc-agent/component/terraform/runs/run-T2EpQM2GN4d36ef9/terraform.tfvars".
│ If you meant to use this value, add a "variable" block to the
│ configuration.

│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.


│ Warning: Value for undeclared variable

│ The root module does not declare a variable named "AWS_ACCESS_KEY_ID" but a
│ value was found in file
│ "/home/tfc-agent/.tfc-agent/component/terraform/runs/run-T2EpQM2GN4d36ef9/terraform.tfvars".
│ If you meant to use this value, add a "variable" block to the
│ configuration.

│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.

</details>
*Pusher: @berviantoleo, Action: `pull_request`*

@berviantoleo berviantoleo merged commit ab093cd into main Jul 16, 2022
berviantoleo added a commit that referenced this pull request Jul 17, 2022
update to add secret id

update format

update dev

update name
berviantoleo added a commit that referenced this pull request Jul 17, 2022
update to add secret id

update format

update dev

update name

update to env

update to dynamodb

update format

add id
@berviantoleo berviantoleo deleted the feat/add-db branch July 17, 2022 14:42
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.

None yet

1 participant