bitovi/Deploy Amazon EFS volume

Deploys an AWS EFS volume

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Feb 16, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: bitovi/github-actions-deploy-efs-volume@234e325f4bd40f07d1223b84b0923d3d448b01d0 # v0.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
bitops_code_onlyWill run only the generation phase of BitOps, where the Terraform and Ansible code is built.no
bitops_code_storeStore BitOps code as a GitHub artifactnofalse
aws_access_key_idAWS access key IDyes
aws_secret_access_keyAWS secret access keyyes
aws_session_tokenAWS session tokenno
aws_default_regionAWS default regionnous-east-1
aws_resource_identifierSet to override the AWS resource identifier for the deployment. Defaults to `${org}-{repo}-{branch}`. Use with destroy to destroy specific resources.no
aws_additional_tagsA JSON object of additional tags that will be included on created resources. Example: `{"key1": "value1", "key2": "value2"}`no
tf_stack_destroySet to "true" to Destroy the stack through Terraform.no
tf_state_file_nameChange this to be anything you want to. Carefull to be consistent here. A missing file could trigger recreation, or stepping over destruction of non-defined objects.no
tf_state_file_name_appendAppend a string to the tf-state-file. Setting this to `unique` will generate `tf-state-aws-unique`. Can co-exist with the tf_state_file_name variable. no
tf_state_bucketAWS S3 bucket to use for Terraform state. Defaults to `${org}-${repo}-{branch}-tf-state`no
tf_state_bucket_destroyForce purge and deletion of S3 bucket defined. Any file contained there will be destroyed. `tf_stack_destroy` must also be `true`no
aws_efs_createToggle to indicate whether to create and EFS and mount it to the ec2 as a part of the provisioning. Note: The EFS will be managed by the stack and will be destroyed along with the stack.notrue
aws_efs_fs_idID of existing EFSno
aws_efs_create_mount_targetToggle to indicate whether we should create a mount target for the EFS volume. Accepts incoming fs_id with no mount targets too.no
aws_efs_create_haToggle to indicate whether the EFS resource should be highly available (mount points in all available zones within region).no
aws_efs_vol_encryptedToggle encryption of the EFS volume.no
aws_efs_kms_key_idThe ARN for the KMS encryption key. Default key will be used if none defined.no
aws_efs_performance_modeToggle perfomance mode. Options are: generalPurpose or maxIO.no
aws_efs_throughput_modeThroughput mode for the file system. Defaults to bursting. Valid values: bursting, provisioned, or elastic. When using provisioned, also set provisioned_throughput_in_mibps.no
aws_efs_throughput_speedThe throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with throughput_mode set to provisioned.no
aws_efs_security_group_nameThe name of the EFS security group. Defaults to SG for aws_resource_identifier - EFS.no
aws_efs_allowed_security_groupsComma separated list of security groups to be added to the EFS SG.no
aws_efs_ingress_allow_allAllow incoming traffic from 0.0.0.0/0.no
aws_efs_create_replicaToggle to indiciate whether a read-only replica should be created for the EFS primary file systemno
aws_efs_replication_destinationAWS Region to target for replicationno
aws_efs_enable_backup_policyToggle to indiciate whether the EFS should have a backup policy, default is `false`no
aws_efs_transition_to_inactivehttps://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/efs_file_system#transition_to_iano
aws_efs_mount_targetDirectory path in efs to mount tono
aws_efs_ec2_mount_pointDirectory path in application env to mount directoryno
aws_efs_additional_tagsA list of strings that will be added to created resourcesno
aws_vpc_createDefine if a VPC should be createdno
aws_vpc_nameSet a specific name for the VPCno
aws_vpc_cidr_blockDefine Base CIDR block which is divided into subnet CIDR blocks. Defaults to 10.0.0.0/16.no
aws_vpc_public_subnetsComma separated list of public subnets. Defaults to 10.10.110.0/24no
aws_vpc_private_subnetsComma separated list of private subnets. If none, none will be created.no
aws_vpc_availability_zonesComma separated list of availability zones. Defaults to `aws_default_region.no
aws_vpc_idAWS VPC ID. Accepts `vpc-###` values.no
aws_vpc_subnet_idSpecify a Subnet to be used with the instance. If none provided, will pick one.no
aws_vpc_enable_nat_gatewayEnables NAT gatewayno
aws_vpc_single_nat_gatewayCreates only one NAT gatewayno
aws_vpc_external_nat_ip_idsComma separated list of IP IDS to reuse in the NAT gatewaysno
aws_vpc_additional_tagsA JSON object of additional tags that will be included on created resources. Example: `{"key1": "value1", "key2": "value2"}`no
namedescription
aws_efs_fs_idEFS FS ID
aws_efs_replica_fs_idEFS FS Replica ID
aws_efs_sg_idEFS FS SG ID
aws_vpc_idThe selected VPC ID used.