[DOC-595] test prod cicd
This commit is contained in:
@@ -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" {
|
||||
|
||||
-13
@@ -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
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
vpc_id = "vpc-00cfffdf5b3ff8aec"
|
||||
key_name = "tf-uat-key"
|
||||
Reference in New Issue
Block a user