Giter Club home page Giter Club logo

Comments (6)

pingping95 avatar pingping95 commented on July 17, 2024

I agree with him. AWS Terraform Example is so poor and need to upgrade.

from scim-examples.

mikedowler avatar mikedowler commented on July 17, 2024

We seem to be hitting the first issue listed here - we get the following error:

creating ELBv2 application Load Balancer (xxx-alb): ValidationError: At least two subnets in two different Availability Zones must be specified

How do we go about specifying subnets - there doesn't seem to be anywhere to provide this information?
Also, some guidance on creating a dedicated VPC and subnets would be great.

The example seems to assume a lot of knowledge of AWS and Terraform, which is not necessarily the case for a 1Password/IAM admin.

from scim-examples.

ag-adampike avatar ag-adampike commented on July 17, 2024

Hey @mikedowler. I'm sorry I missed your comment here.

For using an existing, non-default VPC, you can specify the subnets to use by tagging them with a key of SubnetTier and a value of public. This line in the Terraform script selects the subnets with this tag:

# Find the public subnets in the VPC, or if the default VPC, use both
tags = var.vpc_name != "" ? { SubnetTier = "public" } : {}

You might also consider using our CloudFormation template which requires no interaction with Terraform, can be deployed using the console, and creates a dedicated VPC and subnets for you:
https://github.com/1Password/scim-examples/tree/main/beta/aws-ecsfargate-cfn

from scim-examples.

PeterBocan avatar PeterBocan commented on July 17, 2024

Hey!

I think the steps outlined here are missing some crucial step(s), namely, is this an official module to install?

https://github.com/1Password/scim-examples/blob/main/aws-ecsfargate-terraform/README.md

from scim-examples.

scottisloud avatar scottisloud commented on July 17, 2024

Hi Peter, the only dependencies here are Terraform/Terraform CLI, and the official AWS Terraform provider.

But let me know if I'm not interpreting your question correctly!

from scim-examples.

PeterBocan avatar PeterBocan commented on July 17, 2024

Hey Scott, thanks for the reply.

I think this deserves a terraform module in the terraform registry. Makes things easier for me and (admittedly) I am not a big fan of copying terraform files from repos 😅 which may change.

It's very much done with some tweaks and separating the whole Google Workspace stuff out.

from scim-examples.

Related Issues (20)

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.