Replies: 6 comments 12 replies
-
Hello @ramazulay , |
Beta Was this translation helpful? Give feedback.
-
Hi @ramazulay |
Beta Was this translation helpful? Give feedback.
-
Hi @ramazulay , This change requires the evolution schema of the deploy table DB , if it is already implemented in production
if you don't have anything deploy in production, just destroy the infrastructure you have with SLD, delete all pods and data from the db and recreate it like the first time you did it |
Beta Was this translation helpful? Give feedback.
-
@ramazulay
can you try dump only data and restore this
|
Beta Was this translation helpful? Give feedback.
-
@ramazulay |
Beta Was this translation helpful? Give feedback.
-
Hi,
Please follow the files:
1. test.tfvars:
instance_type = "t2.micro"
2. variables.tf:
variable "instance_type" {
type = string
description = "instance type"
#default = "t2.micro"
}
3. main.tf:
provider "aws" {
#profile = "default"
region = "eu-central-1"
}
resource "null_resource" "python" {
provisioner "local-exec" {
command = "python3 --version && pip3 install kubernetes"
}
}
resource "aws_instance" "test-ram-deploy" {
ami = "ami-XXXXXXX"
instance_type = var.instance_type
count = 1
#ecs_associate_public_ip_address = "false"
tags = {
Name = "test-ram-deploy"
Environment = "development"
}
}
output "test-ram-deploy_ips" {
value = ["${aws_instance.test-ram-deploy.*.public_ip}"]
}
output "test-ram-deploy_dns" {
value = ["${aws_instance.test-ram-deploy.*.public_dns}"]
}
The "instance_type" does not fill automatically:
[image: image.png]
Thanks.
בתאריך יום ג׳, 17 במאי 2022 ב-11:32 מאת Diego La Falce <
***@***.***>:
… Hello @ramazulay <https://github.com/ramazulay> ,
SLD *generates the tfvars dynamically, and the data is passed through the
UI via the form or a json through the rest of the API*.
SLD uses a single stack, respecting the DRY for different deployments and
manages the persistence of those variables equally, that's why you can
destroy and/or deploy without having to fill out a form again.
*You can download the tfvars , in json format from the api*
—
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ44ADHZ4QFPC543IK7ODH3VKNKTDANCNFSM5WDW2XMQ>
.
You are receiving this because you were mentioned.Message ID:
<D10S0VSkY-OSS/Stack-Lifecycle-Deployment/repo-discussions/62/comments/2765797
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
There is a tfvars file in my repository and when I create a deploy(by stack) the field is not completed.
Am I missing something?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions