[DOC-595] test prod cicd

This commit is contained in:
Grzegorz Huber
2024-06-26 16:01:35 +02:00
parent 325a99efee
commit 613f5fea82
6 changed files with 4 additions and 29 deletions
+1
View File
@@ -227,6 +227,7 @@ pipelines:
oidc: true
script:
- *aws-context-prod
- aws sts get-caller-identity --output text
- pip install -r requirements.txt
- BB_PIPELINE_BRANCH="DEV" python terraform.py plan --environment=prod --module=devops-pipeline/other-resources
# - step:
@@ -8,7 +8,7 @@ terraform {
}
provider "aws" {
region = var.aws_region
region = var.aws_region
}
module "aws_terraform_remote_backend" {
@@ -10,19 +10,6 @@ variable "environment" {
variable "client_name" {
type = string
}
# required
variable "secret_key" {
type = string
}
# required
variable "access_key" {
type = string
}
variable "token" {
type = string
}
# dynamoDB table
variable "terraform_dynamodb_table" {
@@ -17,18 +17,3 @@ variable "client_name" {
type = string
default = "infra"
}
#required
variable "secret_key" {
type = string
}
#required
variable "access_key" {
type = string
}
#required
variable "token" {
type = string
}
+2
View File
@@ -0,0 +1,2 @@
vpc_id = "vpc-00cfffdf5b3ff8aec"
key_name = "tf-uat-key"