cloud

aws-ia/cloud/elastic

Terraform Module HCL ELASTIC ✓ Verified

Terraform module automates Elastic Cloud deployment and optional data migration to the AWS Cloud.

Install
module "cloud" {
source = "aws-ia/cloud/elastic"
version = "1.0.1"
}
⭐ Source on GitHub 📦 Registry page
README

Terraform for Elastic Cloud on AWS This Terraform module automates your Elastic Cloud deployment and optional data migration to the AWS Cloud. The deployment provisions the following components: Your Elastic Cloud cluster. Amazon Elastic Compute Cloud (Amazon EC2), which is needed for Elastic Agent. An Amazon Simple Storage Service (Amazon S3) bucket needed for Elasticsearch snapshots. Elastic Serverless Forwarder for data ingestion. An AWS Identity and Access Management (IAM) instance role with fine-grained permissions to access AWS services. Existing customers with Elasticsearch cluster data stored on premises in a self-managed Elasticsearch cluster can optionally choose to migrate that data into Elastic Cloud after deployment to AWS. Both the deployment and migration processes are cover

Inputs (26)
NameTypeDescriptionDefault
namestringDeployment Name required
s3_client_access_keystringAccess Key ID for the S3 repository required
availability_zonestringAvailability Zone into which the instance is deployed required
associate_public_ip_addressboolWhether to associate a public IP address with an instance in a VPC required
vpc_security_group_idslist(string)A list of security group IDs with which to associate the instance required
s3_client_secret_keystringSecret Access Key for the S3 repository required
amistringAMI ID for the instance required
key_namestringKey name of the EC2 Key Pair to use for the instance. required
apikeystringElasticsearch Service API Key required
subnet_idstringSubnet ID required
user_datastringThe user data to provide when launching the instance. required
deployment_template_idstring"aws-io-optimized-v2"
regionstringAWS Region"us-west-2"
sourceipstring"0.0.0.0/0"
existing_s3_repo_bucket_namestringExisting S3 bucket name for repository""
ec2_namestringEC2 Name"single-instance"
autoscalestring"false"
zone_countnumber1
local_elasticsearch_urlstringMigrates self-hosted Elasticsearch data if its URL is provided – e.g., http://12""
local_elasticsearch_repo_namestringCreates an S3 repository with the specified name for the local cluster"es-index-backups"
repo_s3_bucket_prefixstringCreates a unique bucket name beginning with the specified prefix"es-s3-repo"
root_block_devicelist(any)Details about the root block device of the instance.[]
deployment_versionstringElastic Cloud Deployment Version"7.17.0"
agent_s3_bucket_prefixstringCreates a unique bucket name beginning with the specified prefix"es-s3-agent"
instance_typestringThe type of instance to start"t3.micro"
tagsmap(string)tags, which could be used for additional tags{}
Outputs (5)
elasticsearch_https_endpoint
elasticsearch_cloud_id
kibana_https_endpoint
apm_https_endpoint
deployment_id
Resources (16)
aws_iam_roleaws_iam_role_policy_attachmentaws_instanceaws_s3_bucketaws_s3_bucket_policyaws_s3_bucket_public_access_blockaws_secretsmanager_secretaws_secretsmanager_secret_versionaws_serverlessapplicationrepository_cloudformation_stackaws_sqs_queueec_deploymentec_deployment_elasticsearch_keystoreec_deployment_traffic_filterelasticsearch_snapshot_repositorynull_resourcerandom_id
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud ELASTIC
★ Stars19
Forks6
Total downloads450
Inputs26
Outputs5
Resources16
Examples1
LicenseApache-2.0
Namespaceaws-ia
Updated