You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some CloudFormation resources that do not conform to the AWS::Service::Resource pattern. According to the CloudFormation FAQ, there could be resources that look like this: Alexa::*. In fact, there's an Alexa::ASK::Skill resource, that I don't believe former would be able to stub out for you, since it expects only the second two parts of the resource type and fills in the AWS for you
My first thoughts are:
to allow defining the full resource name as a parameter (i.e. former Alexa::ASK::Skill or former AWS::S3::Bucket)
to look for each special case as the first argument (currently only alexa I believe, so former alexa ask skill would function just like former aws s3 bucket or former s3 bucket)
whatever you decide is best for user experience
I came across this issue because I would like to implement autocomplete/tab-completion for the former cli. However if there will be another way to use former, such as the above suggestions, I would like to know what that is before I begin work implementing autocomplete
So this issue is to flesh out what the user experience should be for resources that are not under the AWS::* namespace
Hmm, you're right. How about we do a two step lookup, first we see if we can find the resource with the AWS prefix and if that doesn't exist we look it up without the AWS Namespace and use the first argument as namespace? Its pretty unlikely to happen as its only so few resources.
If you have another proposal open to any other ideas.
There are some CloudFormation resources that do not conform to the
AWS::Service::Resource
pattern. According to the CloudFormation FAQ, there could be resources that look like this:Alexa::*
. In fact, there's anAlexa::ASK::Skill
resource, that I don't believe former would be able to stub out for you, since it expects only the second two parts of the resource type and fills in theAWS
for youMy first thoughts are:
former Alexa::ASK::Skill
orformer AWS::S3::Bucket
)alexa
I believe, soformer alexa ask skill
would function just likeformer aws s3 bucket
orformer s3 bucket
)I came across this issue because I would like to implement autocomplete/tab-completion for the former cli. However if there will be another way to use former, such as the above suggestions, I would like to know what that is before I begin work implementing autocomplete
So this issue is to flesh out what the user experience should be for resources that are not under the
AWS::*
namespaceThoughts @flomotlik?
The text was updated successfully, but these errors were encountered: