nmanzi/throwphish

Error: "features": required field is not set

ramondunker opened this issue · 8 comments

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? :-)

Thanks @ramondunker! I'll look into this and push a fix as soon as possible.

Thank you @nmanzi, looking forward to it :)

3much commented

I was able to add the features {} to the modules main.tf files, But still stuck here

WhatsApp Image 2021-09-10 at 8 06 12 AM

Same issue as 3much for me. I added features {} to resolve the features error in all 4 main.tf files. I also went ahead and removed the quotes from all the strings (I tried the latest terraform as well) and the azurerm_service_principal error is stopping me now. I tried a few specific versions of the azurerm provider, including the one released at the beginning of April, but that doesn't seem to have helped.

I'm having the same issue. I've tried all the same stuff. Anybody make any progress on it? I feel like it is a version thing, but I haven't been able to pin it down.

any possible update to this? Looks like it's still broken

Error: "features": required field is not set

when testing this today. Any update on this issue?

Anyone find a solution to this? I am also getting stuck at this point. Thanks!