GithubHelp home page GithubHelp logo

Comments (5)

jmhale avatar jmhale commented on August 17, 2024

@vtknightmare Can you share your full module declaration block? This seems like its the same as #8, but I still can't reproduce on my end.

from terraform-aws-wireguard.

vtknightmare avatar vtknightmare commented on August 17, 2024

hey @jmhale, here you go:

$ cat main.tf
resource "aws_eip" "wireguard" {
vpc = true
tags = {
Name = "wireguard"
}
}

module "wireguard" {
source = "[email protected]:vtknightmare/terraform-aws-wireguard.git"
ssh_key_id = "my-key"
vpc_id = "vpc-12345678"
subnet_ids = ["subnet-098765"]
eip_id = "${aws_eip.wireguard.id}"
wg_server_net = "192.168.2.1/24" # client IPs MUST exist in this net
wg_client_public_keys = [
{ "192.168.2.2/32" = "myAweSomeWGKeyhahahaheheh@#$@%2523" } # make sure these are correct
]
}

from terraform-aws-wireguard.

vtknightmare avatar vtknightmare commented on August 17, 2024

per various googling, people are referring to the count variable not being correct maybe? As in perhaps we are referring to something wrong?

from terraform-aws-wireguard.

kscherer avatar kscherer commented on August 17, 2024

My workaround was to set the eip_id to "disabled" first and do the apply. Once the eip is created then I added the wireguard.id back in and ran apply again. This solved the problem for me.

from terraform-aws-wireguard.

vainkop avatar vainkop commented on August 17, 2024

Quick solution is to apply separately: #8 (comment)

Normal solution is to work on the code a little, like equalogic#2

from terraform-aws-wireguard.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.