-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from provectus/DQ-132
[MAINTENANCE] Terraform: move S3 resources to a new module
- Loading branch information
Showing
26 changed files
with
263 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
output "bucket_name" { | ||
value = aws_s3_bucket.settings_bucket.bucket | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
variable "environment" { | ||
description = "Environment name used to build fully qualified tags and resource's names" | ||
type = string | ||
} | ||
|
||
variable "data_test_storage_bucket_name" { | ||
description = "Bucket name which will be used to store data tests and settings for it's execution" | ||
type = string | ||
} | ||
|
||
variable "test_coverage_path" { | ||
description = "Path to the tests description path, relative to the root TF" | ||
type = string | ||
} | ||
|
||
variable "pipeline_config_path" { | ||
description = "Path to the pipeline description path, relative to the root TF" | ||
type = string | ||
} | ||
|
||
variable "pks_path" { | ||
description = "Path to the primary keys description path, relative to the root TF" | ||
type = string | ||
} | ||
|
||
variable "sort_keys_path" { | ||
description = "Path to the sort keys description path, relative to the root TF" | ||
type = string | ||
} | ||
|
||
variable "mapping_path" { | ||
description = "Path to the mapping description path, relative to the root TF" | ||
type = string | ||
} | ||
|
||
variable "expectations_store" { | ||
description = "Path to the expectations_store directory, relative to the root TF" | ||
type = string | ||
} | ||
|
||
variable "manifest_path" { | ||
description = "Path to the manifests" | ||
type = string | ||
} | ||
|
||
variable "great_expectation_path" { | ||
description = "Path to the great expectations yaml" | ||
type = string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
0. Install terraform | ||
1. Navigate to `./tests/integration_tests/infra` | ||
2. Run localstack `docker run --rm -it -p 4566:4566 -p 4510-4559:4510-4559 localstack/localstack:1.3.1` | ||
3. Run `terraform init` | ||
4. Setup S3 environment `terraform apply -auto-approve` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"fileLocations":[ | ||
{ | ||
"URIPrefixes":[ | ||
"s3://${bucket_name}/test_configs/test_coverage.json" | ||
] | ||
} | ||
], | ||
"globalUploadSettings":{ | ||
"format":"JSON" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"sample": { | ||
"CALL ID": "call id", | ||
"new_col_added0": "year_month" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"run_name": | ||
{ | ||
"engine": "s3", | ||
"old_suite_name": "planner_raw_softfail", | ||
"reuse_suite": false, | ||
"use_old_suite_only": false, | ||
"autobug": false, | ||
"only_failed": true | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"db.table": { | ||
"primaryKey": [ | ||
"ACCOUNT_TYPE", | ||
"ACCOUNT_NUMBER", | ||
"RECORD_NUMBER" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"db.table": { | ||
"sortKey": [ | ||
"update_dt" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"sample": { | ||
"complexSuite": true | ||
} | ||
} |
Oops, something went wrong.