Comments (5)
@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.
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.
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.
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.
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)
- where is usage? HOT 1
- awscli secretsmanager usage update HOT 1
- wireguard PPA no longer valid HOT 6
- working instance can be killed before new one is ready HOT 2
- wg-server udp port 51820 open to 0.0.0.0/0 HOT 3
- Why do we need to specify next available ip
- Ubuntu 16.04 hits EOL on April 30th HOT 2
- Updating userdata (adding clients) causes clients to fail to reconnect to new instance. HOT 1
- release is v1.0.0, tag is 1.0.0 HOT 1
- "aws_ssm_parameter" "wg_server_private_key": HOT 4
- The "count" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict how many instances will be created. HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-wireguard.