- Install the Plain Credentials Plugin and the Kubernetes Cli Plugin
- Upload your kubeconfig as a Secret file to Jenkins
- Ensure you have applied an auth config map with a mapping from IAM to cluster role
- Ensure that your agents have the correct IAM role to map with a permission in config-map (IAM Instance Profile on the EC2 Cloud plugin)
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
| data "archive_file" "bootstrap_lambda" { | |
| type = "zip" | |
| output_path = "${path.module}/lambda_function_payload.zip" | |
| source { | |
| content = "hello" | |
| filename = "bootstrap.txt" | |
| } | |
| } |
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
| terraform { | |
| experiments = [module_variable_optional_attrs] | |
| } |
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": "Being able to search new books", | |
| "actions": [ | |
| { | |
| "name": "Web Service checks with ID Service to ensure User is allowed to search", | |
| "dependencies": ["ID Service"], | |
| "slos": [ | |
| { | |
| "name": "ID Service", | |
| "type": "Availability", |
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 "lambdas" { | |
| description = "Map of the Lambdas" | |
| type = map(object({ | |
| lambda_name = string | |
| lambda_entrypoint = string | |
| timeout = optional(number) | |
| lambda_runtime = optional(string) | |
| lambda_memory_size = optional(number) | |
| })) | |
| } |
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 "lambdas" { | |
| description = "Map of the Lambdas" | |
| type = map(object({ | |
| lambda_name = string | |
| lambda_entrypoint = string | |
| timeout = optional(number, 900) | |
| lambda_runtime = optional(string, "python3.7") | |
| lambda_memory_size = optional(number, 256) | |
| })) | |
| } |
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 "lambdas" { | |
| description = "Map of the Lambdas" | |
| type = map(object({ | |
| lambda_name = string | |
| lambda_entrypoint = string | |
| timeout = optional(number) | |
| lambda_runtime = optional(string) | |
| lambda_memory_size = optional(number) | |
| })) | |
| } |
OlderNewer