Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    mikejw
    @mikejw
    I think :S
    I had ECS (and tasks/services) working with classic load balancer but I'd like to try and use ELBv2 so I can perform http -> https redirects
    stuzlogle
    @stuzlogle
    @mikejw there's a target-group directive in the ecs service definition, once you have the target-group defined separately and attached to the listener, you just specify what target group you want the task to be a part of
    @mikejw if you need direction in defining a ELBv2 listener and target-group resource, I can assist with that
    mikejw
    @mikejw
    that's super helpful, thanks.. will you be around tomorrow :P
    stuzlogle
    @stuzlogle
    @mikejw probably yeah :)
    Ameya
    @bluemind2005_twitter
    Can someone assist me with this please, its a hurdle I want to have resolved ASAP
    I did try the solution bit but unfortunately that still does not work.
    Ameya
    @bluemind2005_twitter
    @artburkart Big Thank you mate.
    @artburkart insightful response. API makes things very clear. Yep, one is list and the other is string.
    stuzlogle
    @stuzlogle
    @bluemind2005_twitter I don't see anywhere in the documentation of generic git source, that it supports paths. I'm pretty sure the base of your git repo needs to be where the root of the module is
    Rahul Sahotay
    @sahotay
    Hello, I am having a similar issue reported in here hashicorp/terraform#20807
    can anyone help me ?
    Michele Degges
    @mdeggies
    hey everyone- we were hoping to find some community members on MacOS 10.15+ who are interested in testing out a 0.12.18 pre-release binary, prior to the official release. the release is available here: https://github.com/hashicorp/terraform/issues/23033#issuecomment-562254574, and instructions on how to test are listed in this comment: https://github.com/hashicorp/terraform/issues/23033#issuecomment-562313347
    successful tests will show that binaries downloaded via web browsers on OSX can be run without any gatekeeper errors (explained in the original GH issue), which is our goal. feel free to reply here or ping if you're able to help out, and thanks in advance! any/all tests are super helpful
    Adi
    @adi2909
    Hello, does anyone know of a tool or hook they have worked on to post the status of tf apply on a slack channel ?
    iwarapter
    @iwarapter
    Hey, can anyone working on the plugin sdk look at https://discuss.hashicorp.com/t/handling-innacurate-plans-with-the-plugin-sdk/4184 please
    Harsh Gupta
    @hardmettle

    @hardmettle – I don't think there's any easy way to do it today, but there will be once AWS's newly announced (yesterday) managed Cassandra service is GA and supported by the terraform-provider-aws
    https://aws.amazon.com/mcs/

    @artburkart My question was if there's something similar for google cloud

    Arthur Burkart
    @artburkart
    Nothing that I know of currently
    Arthur Burkart
    @artburkart
    @stuzlogle @bluemind2005_twitter – instead of the path query param, have you tried the go-getter syntax for subdirectories?
    https://github.com/hashicorp/go-getter#subdirectories
    I'm not entirely sure about this, but I think go-getter might successfully pull a path if it's indicated with //
    Ryan R
    @Zodzie
    Hi all, I need a quick refresher. Does a terraform state file cover all resources in a region? Can you have multiple .tfstate files with different contents in one region? Thanks
    stuzlogle
    @stuzlogle
    @Zodzie if you're speaking about the AWS provider, yes, you can have multiple providers with aliases that reference different regions, The state file doesn't care.
    Ryan R
    @Zodzie
    thanks for response stuz, my concern is if I can have 4 statefiles with different contents on a per-region basis
    like 4x statefile = 1 region in 1 acc
    Arthur Burkart
    @artburkart
    I think the answer is you can have whatever you want
    stuzlogle
    @stuzlogle
    @Zodzie what Arthur said :) It might be useful to use something like workspaces to manage that. just a thought
    Ryan R
    @Zodzie
    ah ok. for a second I thought statefile would conflict as if one statefile says "We have 4 AWS instances" and another statefile says "we have removed 1 instance"
    or terraform plan i mean
    like if i terraform apply on one statefile, how does it know not to touch the resources of another?
    Arthur Burkart
    @artburkart
    the resources that are in the statefile are the only thing that matters for diffing
    If you're trying to manage the same resource in two separate state files, then you'll have problems
    stuzlogle
    @stuzlogle
    @Zodzie oh, you don't want to manage a resource from multiple statefiles, thats annoying at least, and dangerous at worst
    @Zodzie if you need to access info from a resource in another state, (readonly) I'd look at the remote state datasource
    Arthur Burkart
    @artburkart
    second that
    Ryan R
    @Zodzie
    so are the resources on a per region basis
    ideally
    Arthur Burkart
    @artburkart
    I think it really depends on your use case
    For example, I need to peer VPCs across several regions in Azure, so I have a statefile with VPCs from several regions
    But then I manage VMs on a per region/env basis cuz that makes sense for my use case
    Ryan R
    @Zodzie
    ok so a statefile can manage resources for multiple regions, but one region should not have multiplet statefiles to manage resources
    sorry last repetitive question i promise
    manage (same) resources
    @Zodzie you can specify a provider multiple times using the alias descriptor to differentiate between the providers / regions in your resource definitions
    @Zodzie and yes, your verification about statefile / resource management I would agree with.
    Ryan R
    @Zodzie
    ok, i'm reading, thanks!
    Buamod
    @Ibuamod_twitter
    connection {
      type = "ssh"
      user = "ec2-user"
      host = self.public_ip
      timeout = “password"
      private_key = file("${var.key}")
    }
    if there a way to switch user = "ec2-user"
    sometimes it’s root sometimes it’s ubunut or even Admin