- Remove twc_server.tools (tools server decommissioned) - Remove twc_s3_bucket.outline (walava-outline deleted) - Add twc_s3_bucket.docmost (walava-docmost, ID 481385) - Update main server comment, remove tools_ip output - Removed from state: twc_server.tools, twc_s3_bucket.outline - Imported into state: twc_s3_bucket.docmost
27 lines
823 B
HCL
27 lines
823 B
HCL
# ── S3 Object Storage ─────────────────────────────────────────────────────────
|
|
# Импортировано через:
|
|
# terraform import twc_s3_bucket.backup 481333
|
|
# terraform import twc_s3_bucket.docmost 481385
|
|
|
|
resource "twc_s3_bucket" "backup" {
|
|
name = "walava-backup"
|
|
type = "private"
|
|
preset_id = 2669
|
|
|
|
lifecycle {
|
|
# name/type — write-once поля, нельзя менять после создания
|
|
ignore_changes = [name, type]
|
|
prevent_destroy = true
|
|
}
|
|
}
|
|
|
|
resource "twc_s3_bucket" "docmost" {
|
|
name = "walava-docmost"
|
|
type = "private"
|
|
preset_id = 2669
|
|
|
|
lifecycle {
|
|
ignore_changes = [name, type]
|
|
prevent_destroy = true
|
|
}
|
|
}
|