This module creates buckets and policies to support a datalake.
This module:
- creates buckets to support a datalake
- Raw Data Bucket
- Intermediate Data Bucket
- Curated Data Bucket
- Logs Data Bucket
- Artifact Data Bucket
- creates access policies for the buckets
- READ-ONLY
- FULL ACCESS
None
encryption-type
: the type of encryption on data stored in the bucketsSSE
orKMS
- Assumed to be
SSE
retention-type
: type of data retention policy when deleteing the bucketsDESTROY
orRETAIN
- Assumed to be
DESTROY
artifacts-log-retention
: the number of days back to keep the logs inartifacts-bucket-logs
- this is to prevent large number of logs filling from MWAA
- shoud be an integer - "2"
solution-id
: a unique identifier for this deployment (must be used withsolution-description
)solution-name
: a unique name for this deployment (must be used withsolution-id
)solution-version
: a unique version for this deployment
The parameters (solution-*)
will resolve a custom text that is used as a description of the stack if populated.
RawBucketName
: name of the bucket housing the raw data inputCuratedBucketName
: name of the bucket housing the data after processingIntermediateBucketName
: name of the bucket housing data as it is in processArtifactsBucketName
: name of the bucket housing artifacts used for processingLogsBucketName
: name of the bucket housing logsReadOnlyPolicyArn
: ARN of the policy generated giving read-only access to contentFullAccessPolicyArn
: ARN of the policy generated giving full access to content
{
"ArtifactsBucketName": "addf-dep-artifacts-bucket-us-east-1-12345678901",
"CuratedBucketName": "addf-dep-curated-bucket-us-east-1-123456789012",
"FullAccessPolicyArn": "arn:aws:iam::123456789012:policy/addf-dep-optionals-datalake-buckets-us-east-1-123456789012-full-access",
"IntermediateBucketName": "addf-dep-intermediate-bucket-us-east-1-123456789012",
"LogsBucketName": "addf-dep-logs-bucket-us-east-1-123456789012",
"RawBucketName": "addf-dep-raw-bucket-us-east-1-123456789012",
"ReadOnlyPolicyArn": "arn:aws:iam::123456789012:policy/addf-dep-optionals-datalake-buckets-us-east-1-123456789012-readonly-access"
}