|
Kazinsal posted:
i hate to be epic office quoter guy but drat if this isnt the fuckin 'why use more word, when few word do trick?' line
|
# ¿ Mar 25, 2021 23:36 |
|
|
# ¿ May 8, 2024 10:04 |
|
yea we like it. works great with the "use ansible for all of your configs" model from a few posts ago.
|
# ¿ Jun 12, 2021 17:22 |
|
ruckus is rock solid, much better than unifi. it is also extremely expensive.
|
# ¿ Dec 10, 2021 22:03 |
|
bumo
|
# ¿ Jul 24, 2023 01:27 |
|
Jabor posted:more like computer notworking
|
# ¿ Jul 25, 2023 05:51 |
|
what is there to host
|
# ¿ Aug 15, 2023 22:32 |
|
posting this here as a long shot -- i have a messy vpc setup in terraform that is currently using resource "aws_route_table" blocks to deploy a route table and several routes. This is a big pile of poo poo right now and I'm working on converting things to use modules instead. So the plan is to convert that to use resource "aws_route_table" to create the route table, but use resource "aws_route" blocks to manage the actual routing. i'm aware of the caveat here https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table that you cant use route resources and route_table resources containing routes together, and thats fine, I plan to totally manage the routes with resource "aws_route" blocks. is it enough to write the aws_route_table block as like code:
code:
|
# ¿ Sep 9, 2023 02:02 |
|
The Iron Rose posted:Consider not doing this instead imo why wouldnt i?
|
# ¿ Sep 9, 2023 03:18 |
|
thank you for the insight here everyone. i did not have teh mental energy to post in this thread over the weekend. i think given my use case a module is probably the way i will proceed with this, even if it is not the best way, well-read undead posted:i wanna say i’ve done that exact thing, state rm the route tables and then import them as district resources, but it’s been awhile and i’m already helgin’ over here so don’t just take my word for it its good to know i can do this way and will probably play around with trying it tonight. it felt like it made sense in my head. The Iron Rose posted:Modules are occasionally useful but often a maintenance nightmare, and it’s very easy to write footguns (modules in modules, providers in modules, singleton resource modules, etc). They are valuable when you have commonly repeatable infrastructure components that are very highly opinionated and tied to key business logic, and you have many (>3) coupled resources that depend on one another. Setting up VPCs with peering and routing is a fairly defensible usecase, I feel like this describes my use case pretty well, create a very specifically defined VPC framework that can be repeated across various accounts. quote:Similarly the use of service controls or policy services for standards enforcement and controls are more effective, flexible and scalable are you talking about these concepts with regards to vpcs and cloud networking specifically? do you have any tools i could look into for this, or more info on the topic in general if so? 12 rats tied together posted:sure, but ec2 route objects is like the poster child for "reasons why modules are bad". you will just end up reinventing the parameter set for the route resource on top of a module's parameter set for no reason. "var.default_route_target_type = nat_gateway" and poo poo. this does resonate with how i've been going about certain things, yes quote:the docs are better these days and explicitly warn you not to create a module for a thing unless you can come up with a better name than "the names of the resources inside of the thing". if you try to map every single resource dependency in AWS inside of a module subtree you will have created an infinite amount of work for yourself because an AWS account is essentially a tree itself already this is interesting. I guess this is basically what I'm trying to do, but I'd be sort of abstracting the 'module' layer on top of it. I'd have to rethink how I intend to list the variables and such, but I think this makes sense. Is the idea then that you'd be doing like The Iron Rose mentioned and feed different envs of 'my_bullshit' into the parameters with something like different tfvars files?
|
# ¿ Sep 12, 2023 00:48 |
|
I already wrote 9/10ths of the module before even asking my question last Friday time to sit back and see if a spell of anxiety induced mania can strike and get me to redo it the right way now or not
|
# ¿ Sep 12, 2023 13:40 |
|
12 rats tied together posted:the terraform console repl alright youre losing me here lol
|
# ¿ Sep 12, 2023 20:40 |
|
nudgenudgetilt posted:netbox: marry, gently caress, kill? don’t mind if I do
|
# ¿ Nov 4, 2023 02:45 |
|
de poo poo loseur
|
# ¿ Jan 25, 2024 01:39 |
|
its really weird that this speciifc thread that no one really posts in anymore is such an epic rereg guy fixture
|
# ¿ Feb 11, 2024 04:12 |
|
Jabor posted:deez nats
|
# ¿ Feb 21, 2024 06:09 |
|
|
# ¿ May 8, 2024 10:04 |
|
outhole surfer posted:get an asn and a /24, then peer with each isp via bgp
|
# ¿ Feb 23, 2024 01:39 |