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

Bump aquasecurity/trivy-action from 0.20.0 to 0.21.0 #4

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4
- name: Security Scan
if: github.ref != format('refs/heads/{0}', github.event.repository.default_branch)
uses: aquasecurity/trivy-action@0.20.0
uses: aquasecurity/trivy-action@0.21.0
with:
scan-type: 'config'
scan-ref: './examples/complete/'
Expand Down
14 changes: 7 additions & 7 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ variable "notification_channel" {
description = "The notification channel for the pipe."
type = string
default = "arn:aws:sns:us-west-2:123456789012:my-channel"

}
module "snowflake_pipe" {
source = "../.." # Path to the root of the snowflake-pipe module

# Pipe variables
auto_ingest = true
aws_sns_topic_arn = "arn:aws:sns:us-west-2:123456789012:my-topic"
comment = "This is my pipe"
auto_ingest = true
aws_sns_topic_arn = "arn:aws:sns:us-west-2:123456789012:my-topic"
comment = "This is my pipe"

copy_statement = <<EOF
COPY INTO my_table
Expand All @@ -36,9 +36,9 @@ module "snowflake_pipe" {
NOTIFY = '${var.notification_channel}'
EOF

database = "my_database"
name = "my_pipe"
schema = "my_schema"
database = "my_database"
name = "my_pipe"
schema = "my_schema"

# Grant variables
on_future = true
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
copy_statement = var.copy_statement
auto_ingest = var.auto_ingest

aws_sns_topic_arn = var.aws_sns_topic_arn
aws_sns_topic_arn = var.aws_sns_topic_arn
}

resource "snowflake_pipe_grant" "grant" {

Check warning on line 28 in main.tf

View workflow job for this annotation

GitHub Actions / Validate Terraform module

Deprecated Resource
database_name = var.database
schema_name = var.schema
pipe_name = snowflake_pipe.this.name
Expand Down
Loading