Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.tf #390

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update main.tf #390

wants to merge 1 commit into from

Conversation

Daniellem97
Copy link
Owner

No description provided.

Copy link

spacelift-io bot commented Dec 13, 2024

This run failed during the PLANNING phase. For more details, you can review the run here:

Logs [01JEXCHSDMZ3X1CV3WFCAQXYAJ] Planning changes with 0 custom hooks... data.terraform_remote_state.demo-stack-state: Reading... ╷ │ Error: Error loading state error │ │ with data.terraform_remote_state.demo-stack-state, │ on datasources.tf line 12, in data "terraform_remote_state" "demo-stack-state": │ 12: backend = "remote" │ │ error loading the remote state: Error creating workspace demo-stack: cannot │ create a workspace ╵ ╷ │ Error: Missing required argument │ │ on providers.tf line 10, in provider "aws": │ 10: provider "aws" { │ │ The argument "region" is required, but no definition was found. ╵ [01JEXCHSDMZ3X1CV3WFCAQXYAJ] Unexpected exit code when planning changes: 1

Copy link

spacelift-io bot commented Dec 13, 2024

This run failed during the PLANNING phase. For more details, you can review the run here:

Logs [01JEYBJ02SX4ZVPP5R008ASBXY] Planning changes with 0 custom hooks... data.terraform_remote_state.demo-stack-state: Reading... ╷ │ Error: Error loading state error │ │ with data.terraform_remote_state.demo-stack-state, │ on datasources.tf line 12, in data "terraform_remote_state" "demo-stack-state": │ 12: backend = "remote" │ │ error loading the remote state: Error creating workspace demo-stack: cannot │ create a workspace ╵ ╷ │ Error: Missing required argument │ │ on providers.tf line 10, in provider "aws": │ 10: provider "aws" { │ │ The argument "region" is required, but no definition was found. ╵ [01JEYBJ02SX4ZVPP5R008ASBXY] Unexpected exit code when planning changes: 1

@spacelift-daniellem97space
Copy link

debugtest plan logs

Click here to expand
[01JEYBJ02SX4ZVPP5R008ASBXY] Planning changes with 1 custom hook...
[01JEYBJ02SX4ZVPP5R008ASBXY] Running command: sh [-c spacelift-worker env >> /mnt/workspace/.env_hooks_before && echo "config.yml" && terraform plan -input=false -lock=false -out=spacelift.plan && spacelift-worker env >> /mnt/workspace/.env_hooks_after]
config.yml
data.terraform_remote_state.demo-stack-state: Reading...
module.terraform-default-multimodule.random_uuid.other: Refreshing state... [id=7f403546-a52f-7acf-aee9-08a357e12072]
module.terraform-default-multimodule.random_uuid.this: Refreshing state... [id=0b8b0261-1fff-1e06-4f99-144f22ceb7ec]
module.terraform-default-multimodule.random_uuid.that: Refreshing state... [id=443fd3e6-837c-3cdc-39c9-87e22c580860]
data.terraform_remote_state.demo-stack-state: Read complete after 0s
aws_vpc.mtc_vpc2: Refreshing state... [id=vpc-071c5f180768bfcf6]
aws_vpc.mtc_vpc6: Refreshing state... [id=vpc-0dd41a082c8b356d8]
data.aws_ami.server_ami: Reading...
aws_vpc.mtc_vpc7: Refreshing state... [id=vpc-0c7072147a3059415]
aws_cloudfront_function.example: Refreshing state... [id=example-request-handler]
aws_vpc.mtc_vpc9: Refreshing state... [id=vpc-075229ef6220b7194]
aws_vpc.mtc_vpc3: Refreshing state... [id=vpc-097845eb85aedf070]
aws_vpc.mtc_vpc10: Refreshing state... [id=vpc-0633ceba640679f42]
aws_vpc.mtc_vpc: Refreshing state... [id=vpc-0fa4697f94971fc28]
aws_vpc.mtc_vpc1: Refreshing state... [id=vpc-080d98686629bb5b3]
data.aws_ami.server_ami: Read complete after 0s [id=ami-09563a10670fc573c]
aws_vpc.mtc_vpc4: Refreshing state... [id=vpc-0e69036197b298b17]
aws_vpc.mtc_vpc5: Refreshing state... [id=vpc-077970eba1b9bc2ae]
aws_vpc.mtc_vpc8: Refreshing state... [id=vpc-0607535f012b9f87c]
aws_subnet.mtc_public_subnet: Refreshing state... [id=subnet-00e4b2acf727b6cb3]
aws_route_table.mtc_public_rt: Refreshing state... [id=rtb-00e807c3ddbda8a36]
aws_internet_gateway.mtc_internet_gateway: Refreshing state... [id=igw-009541f2876b533fd]
aws_security_group.mtc_sg: Refreshing state... [id=sg-04239ca9c80d5e63b]
aws_route.default_route: Refreshing state... [id=r-rtb-00e807c3ddbda8a361080289494]
aws_route_table_association.mtc_public_assoc: Refreshing state... [id=rtbassoc-00484e040c376be78]
aws_route.default_route2: Refreshing state... [id=r-rtb-00e807c3ddbda8a361080289494]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
[01JEYBJ02SX4ZVPP5R008ASBXY] Changes are GO
[01JEYBJ02SX4ZVPP5R008ASBXY] Running command: sh [-c terraform show -json]
[01JEYBJ02SX4ZVPP5R008ASBXY] Uploading the list of managed resources...
[01JEYBJ02SX4ZVPP5R008ASBXY] Running command: sh [-c terraform show -json "spacelift.plan"]
[01JEYBJ02SX4ZVPP5R008ASBXY] Running command: sh [-c terraform output -json]
[01JEYBJ02SX4ZVPP5R008ASBXY] Please be aware that the run changes calculation includes output changes.
[01JEYBJ02SX4ZVPP5R008ASBXY] Resource list upload is GO
[01JEYBJ02SX4ZVPP5R008ASBXY] Generating JSON representation of the plan...
[01JEYBJ02SX4ZVPP5R008ASBXY] Running command: sh [-c terraform show -json "spacelift.plan"]
[01JEYBJ02SX4ZVPP5R008ASBXY] JSON representation is GO
[01JEYBJ02SX4ZVPP5R008ASBXY] Loading custom plan policy inputs...
[01JEYBJ02SX4ZVPP5R008ASBXY] 0 custom plan policy inputs found
[01JEYBJ02SX4ZVPP5R008ASBXY] Evaluated 1 plan policy
[01JEYBJ02SX4ZVPP5R008ASBXY] Plan checks are GO

@spacelift-daniellem97space
Copy link

This run finished successfully, you can review the resource changes below:

Run Type: PROPOSED

Run state: FINISHED

Resource changes (link)

add change destroy import move forget

Action Resource Changes

Policy Information

Policy Name Policy Type Outcome
cancel in progress push GIT_PUSH propose
plan - warn true PLAN ✅ allow

@spacelift-daniellem97space
Copy link

Run Summary
Added: 0
Changed: 0
Destroyed: 0
Imported: 0
Moved: 0
Forgotten: 0

Action Resource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant