Skip to content

Commit

Permalink
Merge pull request #8 from DNXLabs/feature/53-cross-account-backup_v3
Browse files Browse the repository at this point in the history
Replace number (deprecated) with numeric on random_string
  • Loading branch information
luizfds authored Oct 27, 2022
2 parents c0f23db + b001be9 commit a057856
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,17 @@ jobs:
name: Minimum version check
runs-on: ubuntu-latest
container:
image: hashicorp/terraform:0.12.0
image: hashicorp/terraform:latest
steps:
- uses: actions/checkout@master
- name: Validate Code
env:
AWS_REGION: 'us-east-1'
TF_WARN_OUTPUT_ERRORS: 1
TF_VAR_vpc_id: 'vpc-123456'
TF_VAR_subnets: '["subnet-12345a"]'
TF_VAR_workers_ami_id: 'ami-123456'
TF_VAR_cluster_name: 'test_cluster'
run: |
sed -i -e 's/>=/=/' -e 's/ \(\d\+\.\d\+\)"/ \1.0"/' versions.tf
terraform init
terraform validate -var "region=${AWS_REGION}" -var "vpc_id=vpc-123456" -var "subnets=[\"subnet-12345a\"]" -var "workers_ami_id=ami-123456" -var "cluster_ingress_cidrs=[]" -var "cluster_name=test_cluster"
terraform validate
2 changes: 1 addition & 1 deletion lambda-slack.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resource "random_string" "lambda_suffix" {
length = 8
special = false
lower = true
number = false
numeric = false
}

resource "aws_lambda_function" "default" {
Expand Down

0 comments on commit a057856

Please sign in to comment.