Skip to content
This repository was archived by the owner on Jan 30, 2021. It is now read-only.
This repository was archived by the owner on Jan 30, 2021. It is now read-only.

Is this module deprecated ? #15

@iamaverrick

Description

@iamaverrick

Hello we are trying to use this module as we still use KOPS and will like to create kops state backend using this module. we are currently using terraform

terraform -version
Terraform v0.12.24
+ provider.aws v2.57.0
+ provider.null v2.1.2
+ provider.template v2.1.2

and this is the error we are getting when we implement the module.

Error: Unsupported block type

  on .terraform/modules/kops-state-backend.domain/main.tf line 18, in data "template_file" "zone_name":
  18:   vars {

Blocks of type "vars" are not expected here. Did you mean to define argument
"vars"? If so, use the equals sign to assign it a value.


Error: Unsupported block type

  on .terraform/modules/kops-state-backend/terraform-aws-kops-state-backend-0.3.0/main.tf line 11, in data "template_file" "zone_name":
  11:   vars {

Blocks of type "vars" are not expected here. Did you mean to define argument
"vars"? If so, use the equals sign to assign it a value.

i think this module needs to be updated to terraform .12, also i see there is a higher version of 0.3.0 available but in the example it seems to be outdated

module "kops-state-backend" {
  source  = "cloudposse/kops-state-backend/aws"
  version = "0.1.7"
  # insert the 2 required variables here
} 

solution

module "kops-state-backend" {
  source  = "cloudposse/kops-state-backend/aws"
  version = "0.3.0"
  # insert the 2 required variables here
}

if this module is deprecated and is no longer receiving updates is there a similar module which we can use that will do the same?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions