Skip to content

Commit 02a2ec7

Browse files
Remove provider dependency
1 parent d318505 commit 02a2ec7

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@ This AWS VPC Module will create following resources:
1616
## Usage
1717

1818
```terraform
19+
provider "aws" {
20+
region = "ap-south-1"
21+
}
22+
1923
module "vpc" {
2024
source = "opensource4learn/vpc/aws"
2125
version = "0.1.0-beta"
22-
aws_region = "ap-south-1"
2326
cluster_prefix = "source4learn"
2427
cluster_environment = "production"
2528
cidr = "10.0.0.0/20"
@@ -33,12 +36,6 @@ module "vpc" {
3336
|------|---------|
3437
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.12.0 |
3538

36-
## Providers
37-
38-
| Name | Version |
39-
|------|---------|
40-
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
41-
4239
## Modules
4340

4441
| Name | Source | Version |
@@ -59,7 +56,6 @@ module "vpc" {
5956

6057
| Name | Description | Type | Default | Required |
6158
|------|-------------|------|---------|:--------:|
62-
| <a name="input_aws_region"></a> [aws\_region](#input\_aws\_region) | AWS Default Region | `string` | n/a | yes |
6359
| <a name="input_cidr"></a> [cidr](#input\_cidr) | CIDR block value to define the size of the AWS VPC | `string` | `"10.0.0.0/20"` | no |
6460
| <a name="input_cluster_environment"></a> [cluster_environment](#input\_cluster_environment) | To apply generic cluster_environment to AWS VPC Resources | `string` | n/a | yes |
6561
| <a name="input_cluster_prefix"></a> [cluster_prefix](#input\_cluster_prefix) | To apply generic naming to AWS VPC Resources | `string` | n/a | yes |

backend.tf

Lines changed: 0 additions & 6 deletions
This file was deleted.

provider.tf

Lines changed: 0 additions & 4 deletions
This file was deleted.

variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
# Terraform Variables
2-
variable "aws_region" {
3-
description = "AWS Default Region"
4-
type = string
5-
}
6-
72
variable "cluster_prefix" {
83
description = "To apply generic naming to AWS VPC Resources"
94
type = string

0 commit comments

Comments
 (0)