Here is a sample (edited) from the implemented spec:
$ bundle exec rspec -f d spec/type/eks_nodegroup_spec.rb
eks_nodegroup 'my-eks-nodegroup'
is expected to be ready
is expected to belong to subnets "subnet-1234a567"
is expected not to belong to subnets "subnet-1234a567YYY" and "subnet-1234a567ZZZ"
is expected to have security group "sg-1a2b3cd4"
is expected to have security group "my-security-group-name"
is expected not to have security group "sg-zyx"
is expected not to have security group "my-other-security-group-name"
Finished in 0.01994 seconds (files took 2.53 seconds to load)
In others words, this PR implements the following matchers:
have_security_group
be_ready
belong_to_subnets
Also the spec/type/eks_nodegroup_spec.rb was extended and the stub it requires as well.
Implements the requested features on issue #407.
Here is a sample (edited) from the implemented spec:
In others words, this PR implements the following matchers:
have_security_group
be_ready
belong_to_subnets
Also the
spec/type/eks_nodegroup_spec.rb
was extended and the stub it requires as well.