1
0
mirror of synced 2026-01-02 03:02:26 -05:00
Files
airbyte/airbyte-integrations/infrastructure/ssh_tunnel/module/inputs.tf
Sherif A. Nada 2e3dfccc68 Setup terraform structure for connector dev infra for GCP and AWS (#4641)
* setup GCP terraform structure for connector dev infra

* fxes

* Created aws terraform bootstrap infrastructure

* Corrected path for S3 state file

* Creating ssh tunnel testing infrastructure

* Creating a bastion host

* Docs

* Created bastion host with airbyte unprivileged account for tunneling

* Added yum updates

* Create a private subnet and a postgres database within it

* Identifier for db

* Create postgres and bastion within a module.

* Set up postgres infrastructure

* Don't need this terraform wrapper when we run with tfenv

* Dropped incomplete WIP from GCP setup for this PR.

* Touchups to how to use terraform

* Updated to resolve merge conflict

* More separated top level structure to avoid monorepo problems with terraform destroy.

* Clarifying directory structure

* Migrated directory structure for testing infrastructure

Co-authored-by: Jenny Brown <jenny@airbyte.io>
2021-08-03 16:39:26 -05:00

33 lines
1.1 KiB
HCL

variable "sudo_keypair_name" {
type = string
description = "Which aws keypair should be used for the sudo-capable user 'ec2-user' on the bastion host"
}
variable "aws_vpc_id" {
type = string
description = "Which vpc should the subnets (containing postgres and the bastion) be placed in"
}
variable "subnet_cidr_block1" {
type = string
description = "Which private CIDR block should be used for the first subnet"
}
variable "subnet_cidr_block2" {
type = string
description = "Which private CIDR block should be used for the second subnet"
}
variable "subnet_az1" {
type = string
description = "Which availability zone should be used for the first subnet"
}
variable "subnet_az2" {
type = string
description = "Which availability zone should be used for the second subnet"
}
variable "rds_instance_class" {
type = string
description = "What instance size should be used for the postgres instance"
}
variable "airbyte_user_authorized_keys_local_filepath" {
type = string
description = "Source path for file provisioner to upload the airbyte user's authorized_keys file"
}