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

Feature/digger #13

Merged
merged 4 commits into from
Apr 1, 2024
Merged

Feature/digger #13

merged 4 commits into from
Apr 1, 2024

Conversation

zMynxx
Copy link
Collaborator

@zMynxx zMynxx commented Apr 1, 2024

implemented non-telemetry. pretty complete by now. Also ignore tags works/

Copy link

digger-cloud bot commented Apr 1, 2024

👷 Jobs status:

infrastructure-live_01234567890_prod_prod-1_il-central-1_compute_demo-ec2 succeeded [Resources: 0 to create, 0 to update, 0 to delete]

Copy link

github-actions bot commented Apr 1, 2024

Digger run report at 2024-04-01 08:27:11 (UTC)
Additional output for develeap/iac-terragrunt-template#infrastructure-live_01234567890_prod_prod-1_il-central-1_compute_demo-ec2
Project: develeap/iac-terragrunt-template/infrastructure-live/01234567890/prod/prod-1/il-central-1/compute/demo-ec2

 Name                                                 Monthly Qty  Unit   Monthly Cost 
                                                                                       
 aws_instance.this[0]                                                                  
 ├─ Instance usage (Linux/UNIX, on-demand, t3.micro)          730  hours         $8.76 
 └─ root_block_device                                                                  
    └─ Storage (general purpose SSD, gp2)                       8  GB            $1.06 
                                                                                       
 OVERALL TOTAL                                                                   $9.82 
──────────────────────────────────
1 cloud resource was detected:1 was estimated, it includes usage-based costs, see https://infracost.io/usage-file

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Project                                                          ┃ Monthly cost ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ develeap/iac-terragrunt-templat.../il-central-1/compute/demo-ec2 ┃ $10          ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛
──────────────────────────────────

1 cloud resource was detected:1 was estimated, it includes usage-based costs, see https://infracost.io/usage-file

→ No changes in terraform output for develeap/iac-terragrunt-template#infrastructure-live_01234567890_prod_prod-1_il-central-1_compute_demo-ec2

Copy link

digger-cloud bot commented Apr 1, 2024

👷 Jobs status:

infrastructure-live_01234567890_prod_prod-1_il-central-1_compute_demo-ec2 succeeded [Resources: 0 to create, 0 to update, 0 to delete]

Copy link

github-actions bot commented Apr 1, 2024

Digger run report at 2024-04-01 08:30:33 (UTC)
Additional output for develeap/iac-terragrunt-template#infrastructure-live_01234567890_prod_prod-1_il-central-1_compute_demo-ec2
Project: develeap/iac-terragrunt-template/infrastructure-live/01234567890/prod/prod-1/il-central-1/compute/demo-ec2

 Name                                                 Monthly Qty  Unit   Monthly Cost 
                                                                                       
 aws_instance.this[0]                                                                  
 ├─ Instance usage (Linux/UNIX, on-demand, t3.micro)          730  hours         $8.76 
 └─ root_block_device                                                                  
    └─ Storage (general purpose SSD, gp2)                       8  GB            $1.06 
                                                                                       
 OVERALL TOTAL                                                                   $9.82 
──────────────────────────────────
1 cloud resource was detected:1 was estimated, it includes usage-based costs, see https://infracost.io/usage-file

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Project                                                          ┃ Monthly cost ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ develeap/iac-terragrunt-templat.../il-central-1/compute/demo-ec2 ┃ $10          ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛
──────────────────────────────────

1 cloud resource was detected:1 was estimated, it includes usage-based costs, see https://infracost.io/usage-file

→ No changes in terraform output for develeap/iac-terragrunt-template#infrastructure-live_01234567890_prod_prod-1_il-central-1_compute_demo-ec2

@zMynxx
Copy link
Collaborator Author

zMynxx commented Apr 1, 2024

digger apply

Copy link

digger-cloud bot commented Apr 1, 2024

👷 Jobs status:

infrastructure-live_01234567890_prod_prod-1_il-central-1_compute_demo-ec2 succeeded

Copy link

github-actions bot commented Apr 1, 2024

Digger run report at 2024-04-01 08:41:06 (UTC)
Apply for develeap/iac-terragrunt-template#infrastructure-live_01234567890_prod_prod-1_il-central-1_compute_demo-ec2
Initializing the backend...

Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
- Using previously-installed hashicorp/aws v5.43.0

Terraform has been successfully initialized!

	=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 	==========================================================================Running Terrafom==========================================================================
 	-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Acquiring state lock. This may take a few moments...
data.aws_ssm_parameter.this[0]: Reading...
data.aws_partition.current: Reading...
data.aws_partition.current: Read complete after 0s [id=aws]
data.aws_ssm_parameter.this[0]: Read complete after 0s [id=/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2]
aws_instance.this[0]: Refreshing state... [id=i-005e9d6049c265929]

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.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

ami = "ami-0fbd08534ff5a05ff"
arn = "arn:aws:ec2:il-central-1:006262944085:instance/i-005e9d6049c265929"
availability_zone = "il-central-1a"
capacity_reservation_specification = tolist([
  {
    "capacity_reservation_preference" = "open"
    "capacity_reservation_target" = tolist([])
  },
])
ebs_block_device = toset([])
ephemeral_block_device = toset([])
id = "i-005e9d6049c265929"
instance_state = "running"
ipv6_addresses = tolist([])
outpost_arn = ""
password_data = ""
primary_network_interface_id = "eni-0087cc8174d6fd80f"
private_dns = "ip-172-31-36-67.il-central-1.compute.internal"
private_ip = "172.31.36.67"
public_dns = "ec2-51-17-183-93.il-central-1.compute.amazonaws.com"
public_ip = "51.17.183.93"
root_block_device = tolist([
  {
    "delete_on_termination" = true
    "device_name" = "/dev/xvda"
    "encrypted" = false
    "iops" = 100
    "kms_key_id" = ""
    "tags" = tomap({})
    "tags_all" = tomap({})
    "throughput" = 0
    "volume_id" = "vol-0b356d3114697eded"
    "volume_size" = 8
    "volume_type" = "gp2"
  },
])
tags_all = tomap({
  "AccountId" = "006262944085"
  "AccountName" = "lior.dux"
  "Environment" = "prod"
  "Name" = "prod.demo.ec2"
  "Objective" = "Digger with Terragrunt"
  "Owner" = "Lior Dux"
  "Region" = "il-central-1"
  "Terragrunt" = "True"
})

	nnununununununununununununununununununununununununununununununnununununununununununununununununununununununununununununununnunununununununununununununununununununu
 	===================================================================Finished Running Terrafom=======================================================================
 	unununununununununununununununununununununununununununununununnununununununununununununununununununununununununununununununnunununununununununununununununununununu

Copy link

github-actions bot commented Apr 1, 2024

Digger run report at 2024-04-01 08:41:23 (UTC)
Apply for develeap/iac-terragrunt-template#infrastructure-live_01234567890_prod_prod-1_il-central-1_compute_demo-ec2
Initializing the backend...

Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
- Using previously-installed hashicorp/aws v5.43.0

Terraform has been successfully initialized!

	=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 	==========================================================================Running Terrafom==========================================================================
 	-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Acquiring state lock. This may take a few moments...
data.aws_ssm_parameter.this[0]: Reading...
data.aws_partition.current: Reading...
data.aws_partition.current: Read complete after 0s [id=aws]
data.aws_ssm_parameter.this[0]: Read complete after 0s [id=/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2]
aws_instance.this[0]: Refreshing state... [id=i-005e9d6049c265929]

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.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

ami = "ami-0fbd08534ff5a05ff"
arn = "arn:aws:ec2:il-central-1:006262944085:instance/i-005e9d6049c265929"
availability_zone = "il-central-1a"
capacity_reservation_specification = tolist([
  {
    "capacity_reservation_preference" = "open"
    "capacity_reservation_target" = tolist([])
  },
])
ebs_block_device = toset([])
ephemeral_block_device = toset([])
id = "i-005e9d6049c265929"
instance_state = "running"
ipv6_addresses = tolist([])
outpost_arn = ""
password_data = ""
primary_network_interface_id = "eni-0087cc8174d6fd80f"
private_dns = "ip-172-31-36-67.il-central-1.compute.internal"
private_ip = "172.31.36.67"
public_dns = "ec2-51-17-183-93.il-central-1.compute.amazonaws.com"
public_ip = "51.17.183.93"
root_block_device = tolist([
  {
    "delete_on_termination" = true
    "device_name" = "/dev/xvda"
    "encrypted" = false
    "iops" = 100
    "kms_key_id" = ""
    "tags" = tomap({})
    "tags_all" = tomap({})
    "throughput" = 0
    "volume_id" = "vol-0b356d3114697eded"
    "volume_size" = 8
    "volume_type" = "gp2"
  },
])
tags_all = tomap({
  "AccountId" = "006262944085"
  "AccountName" = "lior.dux"
  "Environment" = "prod"
  "Name" = "prod.demo.ec2"
  "Objective" = "Digger with Terragrunt"
  "Owner" = "Lior Dux"
  "Region" = "il-central-1"
  "Terragrunt" = "True"
})

	nnununununununununununununununununununununununununununununununnununununununununununununununununununununununununununununununnunununununununununununununununununununu
 	===================================================================Finished Running Terrafom=======================================================================
 	unununununununununununununununununununununununununununununununnununununununununununununununununununununununununununununununnunununununununununununununununununununu

@zMynxx zMynxx merged commit 37290ab into main Apr 1, 2024
6 checks passed
Copy link

digger-cloud bot commented Apr 1, 2024

👷 Jobs status:

infrastructure-live_01234567890_prod_prod-1_il-central-1_compute_demo-ec2 succeeded

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