Skip to content

Commit 3b52029

Browse files
committed
fix rejects
1 parent 7762249 commit 3b52029

File tree

5 files changed

+19
-24
lines changed

5 files changed

+19
-24
lines changed

examples/basic-github-integration.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,4 @@ module "spectral_lambda_integration" {
2828
STRICT_MODE = false
2929
SPECTRAL_TAGS = "iac,base,audit"
3030
}
31-
32-
# With VPC configuration
33-
vpc_config = {
34-
subnet_ids = ["subnet-12345678", "subnet-87654321"]
35-
security_group_ids = ["sg-12345678"]
36-
}
3731
}

examples/basic-gitlab-integration.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,4 @@ module "spectral_lambda_integration" {
1313
# STRICT_MODE = false / true
1414
# SPECTRAL_TAGS = "iac,base,audit"
1515
}
16-
17-
# With VPC configuration
18-
vpc_config = {
19-
subnet_ids = ["subnet-12345678", "subnet-87654321"]
20-
security_group_ids = ["sg-12345678"]
21-
}
2216
}

examples/basic-jira-integration.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,4 @@ module "spectral_lambda_integration" {
1616
# REDACTED_MESSAGE = "MyRedactedMessage"
1717
# SPECTRAL_TAGS = "iac,base,audit"
1818
}
19-
20-
# With VPC configuration
21-
vpc_config = {
22-
subnet_ids = ["subnet-12345678", "subnet-87654321"]
23-
security_group_ids = ["sg-12345678"]
24-
}
2519
}

examples/basic-terraform-integration.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,4 @@ module "spectral_lambda_integration" {
77
SPECTRAL_DSN = "MySpectralDSN"
88
CHECK_POLICY = "Fail on any issue" # (Fail on any issue / Fail on warnings and above / Fail on errors only / Always Pass)
99
}
10-
11-
# With VPC configuration
12-
vpc_config = {
13-
subnet_ids = ["subnet-12345678", "subnet-87654321"]
14-
security_group_ids = ["sg-12345678"]
15-
}
1610
}

examples/lambda-in-vpc.tf

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module "spectral_lambda_integration" {
2+
source = "github.com/SpectralOps/spectral-terraform-lambda-integration"
3+
4+
integration_type = "gitlab"
5+
6+
env_vars = {
7+
# Required environment variables
8+
SPECTRAL_DSN = "MySpectralDSN"
9+
CHECK_POLICY = "Fail on any issue" # (Fail on any issue / Fail on warnings and above / Fail on errors only / Always Pass)
10+
GITLAB_ACCESS_TOKEN = "MyGitlabToken"
11+
GITLAB_WEBHOOK_SECRET = "MyGitlabWebhookSecret"
12+
}
13+
14+
# With VPC configuration
15+
vpc_config = {
16+
subnet_ids = ["subnet-12345678", "subnet-87654321"]
17+
security_group_ids = ["sg-12345678"]
18+
}
19+
}

0 commit comments

Comments
 (0)