Skip to content

Commit

Permalink
Merge pull request #1 from pbs/chore/removing_provisioner_tag
Browse files Browse the repository at this point in the history
Removing provisioner tag
  • Loading branch information
yhakbar authored Jun 8, 2022
2 parents 16c8eb8 + 64fced1 commit e0768b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

```hcl
module "namespace" {
source = "github.com/pbs/terraform-aws-namespace-module?ref=0.0.1"
source = "github.com/pbs/terraform-aws-namespace-module?ref=x.y.z"
}
```

Expand Down Expand Up @@ -44,7 +44,7 @@ Integrate this module like so:

```hcl
module "namespace" {
source = "github.com/pbs/terraform-aws-namespace-module?ref=0.0.1"
source = "github.com/pbs/terraform-aws-namespace-module?ref=x.y.z"
# Tagging Parameters
organization = var.organization
Expand All @@ -60,7 +60,7 @@ module "namespace" {

```hcl
module "namespace" {
source = "github.com/pbs/terraform-aws-namespace-module?ref=0.0.1"
source = "github.com/pbs/terraform-aws-namespace-module?ref=x.y.z"
type = "private"
name = "example.private"
Expand All @@ -79,7 +79,7 @@ module "namespace" {

```hcl
module "namespace" {
source = "github.com/pbs/terraform-aws-namespace-module?ref=0.0.1"
source = "github.com/pbs/terraform-aws-namespace-module?ref=x.y.z"
type = "public"
name = "example.org"
Expand All @@ -98,7 +98,7 @@ module "namespace" {

If this repo is added as a subtree, then the version of the module should be close to the version shown here:

`0.0.1`
`x.y.z`

Note, however that subtrees can be altered as desired within repositories.

Expand Down Expand Up @@ -134,7 +134,6 @@ No modules.
| [aws_service_discovery_http_namespace.namespace](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/service_discovery_http_namespace) | resource |
| [aws_service_discovery_private_dns_namespace.namespace](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/service_discovery_private_dns_namespace) | resource |
| [aws_service_discovery_public_dns_namespace.namespace](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/service_discovery_public_dns_namespace) | resource |
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
| [aws_vpc.vpc](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc) | data source |

## Inputs
Expand Down
2 changes: 0 additions & 2 deletions data.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
data "aws_caller_identity" "current" {}

data "aws_vpc" "vpc" {
count = var.vpc_id == null ? 1 : 0
tags = {
Expand Down
1 change: 0 additions & 1 deletion locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ locals {
"${var.organization}:billing:product" = var.product
"${var.organization}:billing:environment" = var.environment
creator = local.creator
provisioner = data.aws_caller_identity.current.user_id
repo = var.repo
}
)
Expand Down

0 comments on commit e0768b7

Please sign in to comment.