Skip to content

Error: "features": required field is not set #1

@ramondunker

Description

@ramondunker

Hey there,

I've been having some trouble with getting the goPhish instance up and running, I'm receiving the following errors:

Error: "features": required field is not set

My full CLI output:

./throwphish.sh ------------- createdns


|_ | | ___ ___ _ _ | _ | |||| |
| | | | | . | | | | _| | | -| |
|
| |
||| |||| |||||||

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 25 15.9M 25 4111k 0 0 8357k 100 15.9M 100 15.9M 0 0 14.7M 0 0:00:01 0:00:01 --:--:-- 14.7M
Archive: terraform.zip
inflating: terraform
Initializing modules...

  • create_dns in modules/azure_dns
  • create_letsencrypt_cert in modules/letsencrypt
  • create_networking in modules/azure_networking
  • phishing_server in modules/phishing-server

Initializing the backend...

Successfully configured the backend "local"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...

  • Checking for available provider plugins...
  • Downloading plugin for provider "external" (hashicorp/external) 2.1.0...
  • Downloading plugin for provider "azurerm" (hashicorp/azurerm) 2.56.0...
  • Downloading plugin for provider "tls" (hashicorp/tls) 3.1.0...
  • Downloading plugin for provider "acme" (terraform-providers/acme) 2.4.0...

The following providers do not have any version constraints in configuration,
so the latest version was installed.

To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

  • provider.acme: version = "~> 2.4"
  • provider.external: version = "~> 2.1"
  • provider.tls: version = "~> 3.1"

Warning: registry.terraform.io: This version of Terraform has an outdated GPG key and is unable to verify new provider releases. Please upgrade Terraform to at least 0.12.31 to receive new provider updates. For details see: https://discuss.hashicorp.com/t/hcsec-2021-12-codecov-security-event-and-hashicorp-gpg-key-exposure/23512

Warning: registry.terraform.io: This version of Terraform has an outdated GPG key and is unable to verify new provider releases. Please upgrade Terraform to at least 0.12.31 to receive new provider updates. For details see: https://discuss.hashicorp.com/t/hcsec-2021-12-codecov-security-event-and-hashicorp-gpg-key-exposure/23512

Warning: registry.terraform.io: This version of Terraform has an outdated GPG key and is unable to verify new provider releases. Please upgrade Terraform to at least 0.12.31 to receive new provider updates. For details see: https://discuss.hashicorp.com/t/hcsec-2021-12-codecov-security-event-and-hashicorp-gpg-key-exposure/23512

Warning: registry.terraform.io: This version of Terraform has an outdated GPG key and is unable to verify new provider releases. Please upgrade Terraform to at least 0.12.31 to receive new provider updates. For details see: https://discuss.hashicorp.com/t/hcsec-2021-12-codecov-security-event-and-hashicorp-gpg-key-exposure/23512

Warning: registry.terraform.io: For users on Terraform 0.13 or greater, this provider has moved to vancluever/acme. Please update your source in required_providers.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Building Azure RG, network, and DNS Zone.
Please wait...

Error: "features": required field is not set

Error: "features": required field is not set

Error: "features": required field is not set

I read that adding a features {} block could solve this issue, but I can't get it to work.
Maybe you know how? :-)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions