codenize-tools / applb Goto Github PK
View Code? Open in Web Editor NEWApplb is a tool to manage ALB. It defines the state of ALB using DSL, and updateds ALB according DSL.
License: MIT License
Applb is a tool to manage ALB. It defines the state of ALB using DSL, and updateds ALB according DSL.
License: MIT License
Hi there,
Currently, we have to write security group IDs such as:
security_groups(
"sg-12345678",
"sg-90abcdef",
)
It makes us confuse.
I think that most of users of the applb is using the piculet, they would not consider about security group IDs.
So I'll be happy when we could write security group name such as:
security_groups(
"elb-foo",
"http-from-my-house",
"http-from-anywhere",
)
Is it acceptable to you? What do you think about it?
Seems to be added routing.http2.enabled
and applb -e
generates the following invalid DSL;
attributes do
access_logs({
s3_enabled: false,
s3_bucket: "",
s3_prefix: "",
})
routing http2 enabled: true # THIS LINE
idle_timeout timeout_seconds: 1800
deletion_protection enabled: true
end
Obviously it causes an exception
NoMethodError: undefined method `http2' for #Applb::DSL::EC2::LoadBalancer::Attributes:0x00007fe82da13b60
Existing ALB shows the following diff these days:
I, [2017-11-09T12:09:00.514893 #69443] INFO -- : Modify target group tg-test
I, [2017-11-09T12:09:00.532015 #69443] INFO -- : <diff>
:name=>"tg-test",
:port=>80,
:protocol=>"HTTP",
- :target_type=>"instance",
:unhealthy_threshold_count=>3,
:vpc_id=>"vpc-abcdefgh"}
target_type
is not defined as DSL, so there is no workaround for now.
Hi,
in my environment, ALBs are managed by a combination of applb and terraform.
Then applb detects terraform-managing ones as difference.
If possible, I won't use -i
or -x
options for them.
For example, roadwork can ignore any hosted_zone, like this.
hosted_zone 'xxx.com.' do
vpc 'ap-northeast-1', 'vpc-xxxxxxxx'
ignore(//)
end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.