Skip to content

Latest commit

 

History

History
81 lines (70 loc) · 7.58 KB

README-Terraform-Infra-Resources-EC2-Nifi.md

File metadata and controls

81 lines (70 loc) · 7.58 KB

Requirements

Name Version
terraform >= 1.0.9
aws >= 3.63.0, < 4.0

Providers

Name Version
aws >= 3.63.0, < 4.0
random n/a
terraform n/a

Modules

Name Source Version
s3_bucket ../../../../../../../modules/providers/aws/officials/terraform-aws-s3-bucket n/a

Resources

Name Type
aws_eip.nifi resource
aws_elb.nifi resource
aws_iam_role.this resource
aws_instance.nifi resource
aws_key_pair.nifi_ssh_key resource
aws_route53_record.nifi resource
aws_security_group.nifi resource
random_pet.this resource
aws_canonical_user_id.current data source
aws_cloudfront_log_delivery_canonical_user_id.cloudfront data source
aws_iam_policy_document.bucket_policy data source
aws_kms_key.cmk_key data source
aws_subnet_ids.all data source
aws_vpc.selected data source
terraform_remote_state.core_state data source

Inputs

Name Description Type Default Required
access_my_ip Your IP Address string "118.136.0.0/22" no
ami_aws_linux AWS Linux AMI to use. Must match availability zone, instance type, etc string "ami-0dc5785603ad4ff54" no
ami_os Selected OS AMI string "aws-linux" no
ami_ubuntu Ubuntu Linux AMI to use. Must match availability zone, instance type, etc string "ami-0fed77069cd5a6d6c" no
aws_az AWS Zone Target Deployment map(string)
{
"lab": "ap-southeast-1a",
"prod": "ap-southeast-1b",
"staging": "ap-southeast-1b"
}
no
aws_region AWS Region Target Deployment string "ap-southeast-1" no
bucket_name Bucket Name string "devopscorner-nifi" no
department Department Owner string "DEVOPS" no
dns_url n/a map(string)
{
"lab": "awscb.id",
"prod": "awscb.id",
"staging": "awscb.id"
}
no
dns_zone ------------------------------------ DNS (Public) ------------------------------------ map(string)
{
"lab": "ZONE_ID",
"prod": "ZONE_ID",
"staging": "ZONE_ID"
}
no
ebs_content_repo_size EBS size for nifi content repository number 100 no
ebs_flowfile_repo_size EBS size for nifi flowfile repository number 50 no
ebs_opt_data_size EBS size for /opt/data folder number 100 no
ebs_provenance_repo_size EBS size for nifi provenance repository number 100 no
ebs_root_size EBS size for root OS number 50 no
ec2_name Nifi Name string "nifi" no
ec2_type Nifi EC2 Instance Type map(string)
{
"lab": "t3.medium",
"prod": "t3.medium",
"staging": "t3.medium"
}
no
env Workspace Environment Selection map(string)
{
"lab": "lab",
"prod": "prod",
"staging": "staging"
}
no
environment Target Environment (tags) map(string)
{
"lab": "RND",
"prod": "PROD",
"staging": "STG"
}
no
kms_env KMS Key Environment map(string)
{
"lab": "RnD",
"prod": "Production",
"staging": "Staging"
}
no
kms_key KMS Key References map(string)
{
"lab": "arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/CMK_KEY_HASH",
"prod": "arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/CMK_KEY_HASH",
"staging": "arn:aws:kms:ap-southeast-1:YOUR_AWS_ACCOUNT:key/CMK_KEY_HASH"
}
no
ssh_public_key SSH Public Key string "" no
tfstate_bucket Name of bucket to store tfstate string "devopscorner-terraform-remote-state" no
tfstate_dynamodb_table Name of dynamodb table to store tfstate string "devopscorner-terraform-state-lock" no
tfstate_encrypt Name of bucket to store tfstate bool true no
tfstate_path Path .tfstate in Bucket string "resources/nifi/terraform.tfstate" no

Outputs

Name Description
arn n/a
instance n/a
route53 n/a