Comments (5)
手元の go-github が古いせいだと思います。
$ git clone https://github.com/mercari/tfnotify && cd tfnotify
$ dep ensure
$ go build
dep で vendoring してあるバージョンの go-github を使ってみてください。
from tfnotify.
go 1.10 でも同様でした。。。
from tfnotify.
ありがとうございます。確認できました。
from tfnotify.
Plan result CI link
terraform/microservices/item
Plan: 2 to add, 0 to change, 0 to destroy.
Details (Click me)
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ module.item-service.google_project.microservice
id: <computed>
auto_create_network: "true"
folder_id: <computed>
name: "msmini-item"
number: <computed>
org_id: <computed>
policy_data: <computed>
policy_etag: <computed>
project_id: "msmini-item"
skip_delete: "false"
+ module.item-service.google_project_iam_member.microservice_service_admins
id: <computed>
etag: <computed>
member: "user:[email protected]"
project: "msmini-item"
role: "roles/editor"
Plan: 2 to add, 0 to change, 0 to destroy.
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
from tfnotify.
Plan result
Plan: 14 to add, 0 to change, 0 to destroy.
Details (Click me)
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# aws_cloudwatch_log_group.nginx will be created
+ resource "aws_cloudwatch_log_group" "nginx" {
+ arn = (known after apply)
+ id = (known after apply)
+ name = "/ecs/ecs-train-nginx"
+ retention_in_days = 0
}
# aws_ecr_repository.ecs-train will be created
+ resource "aws_ecr_repository" "ecs-train" {
+ arn = (known after apply)
+ id = (known after apply)
+ image_tag_mutability = "MUTABLE"
+ name = "tennichi/ecs-train"
+ registry_id = (known after apply)
+ repository_url = (known after apply)
+ image_scanning_configuration {
+ scan_on_push = false
}
+ timeouts {}
}
# aws_ecs_cluster.ecs-train will be created
+ resource "aws_ecs_cluster" "ecs-train" {
+ arn = (known after apply)
+ capacity_providers = [
+ "FARGATE",
+ "FARGATE_SPOT",
]
+ id = (known after apply)
+ name = "ecs-train"
+ setting {
+ name = "containerInsights"
+ value = "disabled"
}
}
# aws_iam_role.exec will be created
+ resource "aws_iam_role" "exec" {
+ arn = (known after apply)
+ assume_role_policy = jsonencode(
{
+ Statement = [
+ {
+ Action = "sts:AssumeRole"
+ Effect = "Allow"
+ Principal = {
+ Service = "ecs-tasks.amazonaws.com"
}
+ Sid = ""
},
]
+ Version = "2012-10-17"
}
)
+ create_date = (known after apply)
+ description = "for ecs train created by tennichi"
+ force_detach_policies = false
+ id = (known after apply)
+ max_session_duration = 3600
+ name = "ecs-train"
+ path = "/"
+ unique_id = (known after apply)
}
# aws_iam_role_policy_attachment.ecr-read will be created
+ resource "aws_iam_role_policy_attachment" "ecr-read" {
+ id = (known after apply)
+ policy_arn = "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
+ role = "ecs-train"
}
# aws_iam_role_policy_attachment.log-write will be created
+ resource "aws_iam_role_policy_attachment" "log-write" {
+ id = (known after apply)
+ policy_arn = "arn:aws:iam::aws:policy/CloudWatchLogsFullAccess"
+ role = "ecs-train"
}
# aws_internet_gateway.igw will be created
+ resource "aws_internet_gateway" "igw" {
+ id = (known after apply)
+ owner_id = (known after apply)
+ tags = {
+ "Name" = "ecs-train"
}
+ vpc_id = (known after apply)
}
# aws_route_table.subnet-route-table will be created
+ resource "aws_route_table" "subnet-route-table" {
+ id = (known after apply)
+ owner_id = (known after apply)
+ propagating_vgws = (known after apply)
+ route = [
+ {
+ cidr_block = "0.0.0.0/0"
+ egress_only_gateway_id = ""
+ gateway_id = (known after apply)
+ instance_id = ""
+ ipv6_cidr_block = ""
+ nat_gateway_id = ""
+ network_interface_id = ""
+ transit_gateway_id = ""
+ vpc_peering_connection_id = ""
},
]
+ tags = {
+ "Name" = "ecs-train"
}
+ vpc_id = (known after apply)
}
# aws_route_table_association.subnet-0 will be created
+ resource "aws_route_table_association" "subnet-0" {
+ id = (known after apply)
+ route_table_id = (known after apply)
+ subnet_id = (known after apply)
}
# aws_route_table_association.subnet-1 will be created
+ resource "aws_route_table_association" "subnet-1" {
+ id = (known after apply)
+ route_table_id = (known after apply)
+ subnet_id = (known after apply)
}
# aws_security_group.sg will be created
+ resource "aws_security_group" "sg" {
+ arn = (known after apply)
+ description = "2020-05-12T06:55:27.374Z"
+ egress = [
+ {
+ cidr_blocks = [
+ "0.0.0.0/0",
]
+ description = ""
+ from_port = 0
+ ipv6_cidr_blocks = []
+ prefix_list_ids = []
+ protocol = "-1"
+ security_groups = []
+ self = false
+ to_port = 0
},
]
+ id = (known after apply)
+ ingress = [
+ {
+ cidr_blocks = [
+ "0.0.0.0/0",
]
+ description = ""
+ from_port = 80
+ ipv6_cidr_blocks = []
+ prefix_list_ids = []
+ protocol = "tcp"
+ security_groups = []
+ self = false
+ to_port = 80
},
]
+ name = "ecs-train-nginx"
+ owner_id = (known after apply)
+ revoke_rules_on_delete = false
+ vpc_id = (known after apply)
}
# aws_subnet.subnet-0 will be created
+ resource "aws_subnet" "subnet-0" {
+ arn = (known after apply)
+ assign_ipv6_address_on_creation = false
+ availability_zone = "ap-northeast-1a"
+ availability_zone_id = (known after apply)
+ cidr_block = "10.0.0.0/24"
+ id = (known after apply)
+ ipv6_cidr_block = (known after apply)
+ ipv6_cidr_block_association_id = (known after apply)
+ map_public_ip_on_launch = false
+ owner_id = (known after apply)
+ tags = {
+ "Name" = "ecs-train/Public"
}
+ vpc_id = (known after apply)
}
# aws_subnet.subnet-1 will be created
+ resource "aws_subnet" "subnet-1" {
+ arn = (known after apply)
+ assign_ipv6_address_on_creation = false
+ availability_zone = "ap-northeast-1c"
+ availability_zone_id = (known after apply)
+ cidr_block = "10.0.1.0/24"
+ id = (known after apply)
+ ipv6_cidr_block = (known after apply)
+ ipv6_cidr_block_association_id = (known after apply)
+ map_public_ip_on_launch = false
+ owner_id = (known after apply)
+ tags = {
+ "Name" = "ecs-train/Public"
}
+ vpc_id = (known after apply)
}
# aws_vpc.vpc will be created
+ resource "aws_vpc" "vpc" {
+ arn = (known after apply)
+ assign_generated_ipv6_cidr_block = false
+ cidr_block = "10.0.0.0/16"
+ default_network_acl_id = (known after apply)
+ default_route_table_id = (known after apply)
+ default_security_group_id = (known after apply)
+ dhcp_options_id = (known after apply)
+ enable_classiclink = false
+ enable_classiclink_dns_support = false
+ enable_dns_hostnames = true
+ enable_dns_support = true
+ id = (known after apply)
+ instance_tenancy = "default"
+ ipv6_association_id = (known after apply)
+ ipv6_cidr_block = (known after apply)
+ main_route_table_id = (known after apply)
+ owner_id = (known after apply)
+ tags = {
+ "Name" = "ecs-train"
}
}
Plan: 14 to add, 0 to change, 0 to destroy.
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
from tfnotify.
Related Issues (20)
- Broken private pool Cloud Build build result links HOT 1
- Support Terraform `0.15` or later HOT 2
- Error while parsing the output only changes for Terraform `>=0.15` HOT 1
- `tfnotify` support custom environment variable
- Gitlab comments don't work
- No Github comments from tfnotify HOT 7
- Is this project abandoned? I am happy to take over HOT 3
- Support Drone HOT 1
- terraform 0.12 planfile support HOT 2
- can we use markdown in template?
- fail go get current master HEAD ( b8bbe9b ) HOT 2
- Does not delete first comment on commit revision in github. HOT 1
- Any chance of some ARM releases HOT 1
- Tfnotify does not trace organization ownership transfer HOT 1
- tfnotify --version not working
- New comment every time or updates to existing comments? HOT 1
- Support to configure a label color HOT 2
- Parsing fails when only any output values are added
- Github apply notification not goes to the current commit HOT 1
- tfnotify migth be not working on github actions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfnotify.