Skip to content

Commit

Permalink
null values
Browse files Browse the repository at this point in the history
  • Loading branch information
edbizarro committed Dec 6, 2019
1 parent a44db4c commit 2e62561
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Terraform module to deploy an [Apache Airflow](https://airflow.apache.org/) clus

### Terraform supported versions:

| Terraform version | Tag |
| Terraform version | Tag |
|-------------------|------|
| <= 0.11 | v0.7.x|
| >= 0.12 | >= v0.8.x|
Expand All @@ -25,7 +25,7 @@ module "airflow-cluster" {
cluster_stage = "prod" # Default is 'dev'
db_password = "your-rds-master-password"
fernet_key = "your-fernet-key" # see https://airflow.readthedocs.io/en/stable/howto/secure-connections.html
# OPTIONALS
vpc_id = "some-vpc-id" # Use default if not provided
custom_requirements = "path/to/custom/requirements.txt" # See examples/custom_requirements for more details
Expand Down Expand Up @@ -76,7 +76,7 @@ The Airflow service runs under systemd, so logs are available through journalctl
- [x] RBAC
- [ ] Support for [Google OAUTH ](https://airflow.readthedocs.io/en/latest/security.html#google-authentication)
- [x] Flower
- [ ] Secure Flower install
- [ ] Secure Flower install
- [x] Provide a way to inject environment variables into airflow
- [ ] Split services into multiples files
- [ ] Auto Scalling for workers
Expand Down Expand Up @@ -104,8 +104,8 @@ Special thanks to [villasv/aws-airflow-stack](https://github.com/villasv/aws-air
| azs | Run the EC2 Instances in these Availability Zones | map(string) | `{ "1": "us-east-1a", "2": "us-east-1b", "3": "us-east-1c", "4": "us-east-1d" }` | no |
| cluster\_name | The name of the Airflow cluster (e.g. airflow-xyz). This variable is used to namespace all resources created by this module. | string | n/a | yes |
| cluster\_stage | The stage of the Airflow cluster (e.g. prod). | string | `"dev"` | no |
| custom\_env | Path to custom airflow environments variables. | string | `""` | no |
| custom\_requirements | Path to custom requirements.txt. | string | `""` | no |
| custom\_env | Path to custom airflow environments variables. | string | `"null"` | no |
| custom\_requirements | Path to custom requirements.txt. | string | `"null"` | no |
| db\_allocated\_storage | Dabatase disk size. | string | `"20"` | no |
| db\_dbname | PostgreSQL database name. | string | `"airflow"` | no |
| db\_instance\_type | Instance type for PostgreSQL database | string | `"db.t2.micro"` | no |
Expand All @@ -131,7 +131,7 @@ Special thanks to [villasv/aws-airflow-stack](https://github.com/villasv/aws-air
| scheduler\_instance\_type | Instance type for the Airflow Scheduler. | string | `"t3.micro"` | no |
| spot\_price | The maximum hourly price to pay for EC2 Spot Instances. | string | `""` | no |
| tags | Additional tags used into terraform-terraform-labels module. | map(string) | `{}` | no |
| vpc\_id | The ID of the VPC in which the nodes will be deployed. Uses default VPC if not supplied. | string | `""` | no |
| vpc\_id | The ID of the VPC in which the nodes will be deployed. Uses default VPC if not supplied. | string | `"null"` | no |
| webserver\_instance\_type | Instance type for the Airflow Webserver. | string | `"t3.micro"` | no |
| webserver\_port | The port Airflow webserver will be listening. Ports below 1024 can be opened only with root privileges and the airflow process does not run as such. | string | `"8080"` | no |
| worker\_instance\_count | Number of worker instances to create. | string | `"1"` | no |
Expand Down
8 changes: 4 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ variable "key_name" {

variable "private_key" {
description = "Enter the content of the SSH Private Key to run provisioner."
default = "null"
default = null
}

variable "private_key_path" {
Expand All @@ -48,7 +48,7 @@ variable "public_key_path" {
variable "vpc_id" {
description = "The ID of the VPC in which the nodes will be deployed. Uses default VPC if not supplied."
type = string
default = ""
default = null
}

variable "fernet_key" {
Expand All @@ -59,13 +59,13 @@ variable "fernet_key" {
variable "custom_requirements" {
description = "Path to custom requirements.txt."
type = string
default = ""
default = null
}

variable "custom_env" {
description = "Path to custom airflow environments variables."
type = string
default = ""
default = null
}

variable "load_example_dags" {
Expand Down

0 comments on commit 2e62561

Please sign in to comment.