This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <repositories> | |
| <repository> | |
| <id>spring-milestones</id> | |
| <name>Spring Milestones</name> | |
| <url>https://repo.spring.io/milestone</url> | |
| <snapshots> | |
| <enabled>false</enabled> | |
| </snapshots> | |
| </repository> | |
| </repositories> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <parent> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-parent</artifactId> | |
| <version>3.0.0-M4</version> | |
| <relativePath/> | |
| </parent> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extensions: | |
| memory_ballast: | |
| size_mib: 512 | |
| zpages: | |
| endpoint: 0.0.0.0:55679 | |
| receivers: | |
| otlp: | |
| protocols: | |
| grpc: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| otel-collector: | |
| image: otel/opentelemetry-collector-contrib:0.58.0 | |
| command: [ "--config=/etc/otel-collector-config.yaml" ] | |
| volumes: | |
| - ./otel-config.yaml:/etc/otel-collector-config.yaml | |
| ports: | |
| - "1888:1888" # pprof extension | |
| - "13133:13133" # health_check extension | |
| - "4317" # OTLP gRPC receiver | |
| - "55670:55679" # zpages extension |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extensions: | |
| memory_ballast: | |
| size_mib: 512 | |
| zpages: | |
| endpoint: 0.0.0.0:55679 | |
| receivers: | |
| otlp: | |
| protocols: | |
| grpc: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| processors: | |
| batch: | |
| timeout: 10s | |
| exporters: | |
| logging: | |
| logLevel: debug | |
| datadog: | |
| env: poc | |
| service: customer-service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module "lambda_function_demo1" { | |
| source = "./modules/lambda" | |
| function_name = "lambda_demo1" | |
| role = var.lambda_iam_role_arn | |
| handler = "index.js" | |
| filename = "../lambda-demo1/deploy.zip" | |
| } | |
| module "lambda_function_demo2" { | |
| source = "./modules/lambda" | |
| function_name = "lambda_demo2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| terraformer import aws --resources=ec2_instance --filter="Name=id;Value=i-0e5b351eb8d11dd68" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Terraform Deployment" | |
| on: | |
| # Manual trigger | |
| workflow_dispatch: | |
| inputs: | |
| environment: | |
| description: 'Environment to run the workflow against' | |
| type: environment | |
| required: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| variable "lambda_function_name" { | |
| type = "string" | |
| description = "The name of the lambda function" | |
| } | |
| variable "lambda_handler" { | |
| type = string | |
| description = "The handler of the lambda" | |
| default = "index.js" | |
| } |