k1LoW / awspec

RSpec tests for your AWS resources.
MIT License
1.17k stars 194 forks source link

Questions about template creation #584

Closed BFTnaito closed 6 months ago

BFTnaito commented 7 months ago

I have a few questions regarding the content mentioned in the following URL's README:

https://github.com/k1LoW/awspec/blob/master/README.md#advanced-tips-spec-generate-command

Regarding the $ awspec generate ec2 vpc-ab123cde >> spec/ec2_spec.rb command:

1.Can this command only be used if the AWS resource already exists? 2.Can the template be generated if the AWS resource does not yet exist? 3.Are the detailed parameters of the generated template limited to those mentioned in the URL (https://github.com/k1LoW/awspec/blob/master/doc/resource_types.md), or does it cover all parameters of the AWS resource?

k1LoW commented 6 months ago

Hi!

1.Can this command only be used if the AWS resource already exists?

Yes.

2.Can the template be generated if the AWS resource does not yet exist?

No.

3.Are the detailed parameters of the generated template limited to those mentioned in the URL (https://github.com/k1LoW/awspec/blob/master/doc/resource_types.md), or does it cover all parameters of the AWS resource?

No.

awspec is a READ Only tool for AWS resources.

Please try it out!

BFTnaito commented 6 months ago

Thank you for your response. Regarding your answer (3), do you mean that it doesn't cover all parameters of the AWS resource?

k1LoW commented 6 months ago

Regarding your answer (3), do you mean that it doesn't cover all parameters of the AWS resource?

Yes. Not all are supported.