resource type error while trying to use cloudformation The 2019 Stack Overflow Developer Survey Results Are InAWS listener cf template gives error in aws cli but is valid in console(design template)aws cloudformation use Fn::Join in a listSpecify security configuration in Amazon EMR from a CloudFormation TemplateCloudFormation: Publish to SNS topicHow can we create database and table in Amazon Athena using CloudFormationAWS Cloudformation : Encountered unsupported property LaunchConfigurationNameRunning cloudformation template yaml using boto gives validation errorAWS Cloudformation - cannot set parameters group nameCloudformation to Enable Encryption of Query ResultsIs Macie supported in AWS CloudFormation?AWS CloudFormation - resources failed to create error
For what reasons would an animal species NOT cross a *horizontal* land bridge?
Can we generate random numbers using irrational numbers like π and e?
Is flight data recorder erased after every flight?
If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?
How to answer pointed "are you quitting" questioning when I don't want them to suspect
Have you ever entered Singapore using a different passport or name?
Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?
What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?
What do the Banks children have against barley water?
Does coating your armor in silver add any effects?
Apparent duplicates between Haynes service instructions and MOT
Right tool to dig six foot holes?
Aging parents with no investments
Is an up-to-date browser secure on an out-of-date OS?
Am I thawing this London Broil safely?
Does the shape of a die affect the probability of a number being rolled?
Deal with toxic manager when you can't quit
What is the accessibility of a package's `Private` context variables?
Why is the maximum length of OpenWrt’s root password 8 characters?
If a Druid sees an animal’s corpse, can they Wild Shape into that animal?
Did 3000BC Egyptians use meteoric iron weapons?
Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?
Are spiders unable to hurt humans, especially very small spiders?
Why isn't airport relocation done gradually?
resource type error while trying to use cloudformation
The 2019 Stack Overflow Developer Survey Results Are InAWS listener cf template gives error in aws cli but is valid in console(design template)aws cloudformation use Fn::Join in a listSpecify security configuration in Amazon EMR from a CloudFormation TemplateCloudFormation: Publish to SNS topicHow can we create database and table in Amazon Athena using CloudFormationAWS Cloudformation : Encountered unsupported property LaunchConfigurationNameRunning cloudformation template yaml using boto gives validation errorAWS Cloudformation - cannot set parameters group nameCloudformation to Enable Encryption of Query ResultsIs Macie supported in AWS CloudFormation?AWS CloudFormation - resources failed to create error
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I tried to use the exact same example provided in the user guide mentioned below. It works from console but fails to create stack using client.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html
I got an error while trying to execute the following:
"Resources":
"AthenaNamedQuery":
"Type": "AWS::Athena::NamedQuery",
"Properties":
"Database": "swfnetadata",
"Description": "A query that selects all aggregated data",
"Name": "MostExpensiveWorkflow",
"QueryString": "SELECT workflowname, AVG(activitytaskstarted) AS AverageWorkflow FROM swfmetadata WHERE year='17' AND GROUP BY workflowname ORDER BY AverageWorkflow DESC LIMIT 10"
Is the "create-stack" parameter of cloudformation correct?
aws cloudformation create-stack --stack-name dnd --template-body file://final.json
Why am I getting a resource type error like this?
An error occurred (ValidationError) when calling the CreateStack operation: Template format error: Unrecognized resource types: [AWS::Athena::NamedQuery]
amazon-cloudformation amazon-athena
add a comment |
I tried to use the exact same example provided in the user guide mentioned below. It works from console but fails to create stack using client.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html
I got an error while trying to execute the following:
"Resources":
"AthenaNamedQuery":
"Type": "AWS::Athena::NamedQuery",
"Properties":
"Database": "swfnetadata",
"Description": "A query that selects all aggregated data",
"Name": "MostExpensiveWorkflow",
"QueryString": "SELECT workflowname, AVG(activitytaskstarted) AS AverageWorkflow FROM swfmetadata WHERE year='17' AND GROUP BY workflowname ORDER BY AverageWorkflow DESC LIMIT 10"
Is the "create-stack" parameter of cloudformation correct?
aws cloudformation create-stack --stack-name dnd --template-body file://final.json
Why am I getting a resource type error like this?
An error occurred (ValidationError) when calling the CreateStack operation: Template format error: Unrecognized resource types: [AWS::Athena::NamedQuery]
amazon-cloudformation amazon-athena
1
I would suggest check/update your CLI version. Either way do let know if that works
– ASR
Mar 8 at 15:28
Were you able to create the named query using the command mentioned above @ASR ?
– shantanuo
Mar 9 at 10:28
@ASR you can post your comment as answer if you are interested in bounty :)
– shantanuo
Mar 13 at 4:48
Glad to know it worked. Though not really worth as an answer. Silly things happen.
– ASR
Mar 13 at 13:14
add a comment |
I tried to use the exact same example provided in the user guide mentioned below. It works from console but fails to create stack using client.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html
I got an error while trying to execute the following:
"Resources":
"AthenaNamedQuery":
"Type": "AWS::Athena::NamedQuery",
"Properties":
"Database": "swfnetadata",
"Description": "A query that selects all aggregated data",
"Name": "MostExpensiveWorkflow",
"QueryString": "SELECT workflowname, AVG(activitytaskstarted) AS AverageWorkflow FROM swfmetadata WHERE year='17' AND GROUP BY workflowname ORDER BY AverageWorkflow DESC LIMIT 10"
Is the "create-stack" parameter of cloudformation correct?
aws cloudformation create-stack --stack-name dnd --template-body file://final.json
Why am I getting a resource type error like this?
An error occurred (ValidationError) when calling the CreateStack operation: Template format error: Unrecognized resource types: [AWS::Athena::NamedQuery]
amazon-cloudformation amazon-athena
I tried to use the exact same example provided in the user guide mentioned below. It works from console but fails to create stack using client.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html
I got an error while trying to execute the following:
"Resources":
"AthenaNamedQuery":
"Type": "AWS::Athena::NamedQuery",
"Properties":
"Database": "swfnetadata",
"Description": "A query that selects all aggregated data",
"Name": "MostExpensiveWorkflow",
"QueryString": "SELECT workflowname, AVG(activitytaskstarted) AS AverageWorkflow FROM swfmetadata WHERE year='17' AND GROUP BY workflowname ORDER BY AverageWorkflow DESC LIMIT 10"
Is the "create-stack" parameter of cloudformation correct?
aws cloudformation create-stack --stack-name dnd --template-body file://final.json
Why am I getting a resource type error like this?
An error occurred (ValidationError) when calling the CreateStack operation: Template format error: Unrecognized resource types: [AWS::Athena::NamedQuery]
amazon-cloudformation amazon-athena
amazon-cloudformation amazon-athena
edited Mar 12 at 5:46
shantanuo
asked Mar 8 at 9:57
shantanuoshantanuo
12.1k58157265
12.1k58157265
1
I would suggest check/update your CLI version. Either way do let know if that works
– ASR
Mar 8 at 15:28
Were you able to create the named query using the command mentioned above @ASR ?
– shantanuo
Mar 9 at 10:28
@ASR you can post your comment as answer if you are interested in bounty :)
– shantanuo
Mar 13 at 4:48
Glad to know it worked. Though not really worth as an answer. Silly things happen.
– ASR
Mar 13 at 13:14
add a comment |
1
I would suggest check/update your CLI version. Either way do let know if that works
– ASR
Mar 8 at 15:28
Were you able to create the named query using the command mentioned above @ASR ?
– shantanuo
Mar 9 at 10:28
@ASR you can post your comment as answer if you are interested in bounty :)
– shantanuo
Mar 13 at 4:48
Glad to know it worked. Though not really worth as an answer. Silly things happen.
– ASR
Mar 13 at 13:14
1
1
I would suggest check/update your CLI version. Either way do let know if that works
– ASR
Mar 8 at 15:28
I would suggest check/update your CLI version. Either way do let know if that works
– ASR
Mar 8 at 15:28
Were you able to create the named query using the command mentioned above @ASR ?
– shantanuo
Mar 9 at 10:28
Were you able to create the named query using the command mentioned above @ASR ?
– shantanuo
Mar 9 at 10:28
@ASR you can post your comment as answer if you are interested in bounty :)
– shantanuo
Mar 13 at 4:48
@ASR you can post your comment as answer if you are interested in bounty :)
– shantanuo
Mar 13 at 4:48
Glad to know it worked. Though not really worth as an answer. Silly things happen.
– ASR
Mar 13 at 13:14
Glad to know it worked. Though not really worth as an answer. Silly things happen.
– ASR
Mar 13 at 13:14
add a comment |
1 Answer
1
active
oldest
votes
It worked when I updated my CLI version as suggested in the comment. This issue is now closed.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55060734%2fresource-type-error-while-trying-to-use-cloudformation%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It worked when I updated my CLI version as suggested in the comment. This issue is now closed.
add a comment |
It worked when I updated my CLI version as suggested in the comment. This issue is now closed.
add a comment |
It worked when I updated my CLI version as suggested in the comment. This issue is now closed.
It worked when I updated my CLI version as suggested in the comment. This issue is now closed.
answered Mar 13 at 4:47
shantanuoshantanuo
12.1k58157265
12.1k58157265
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55060734%2fresource-type-error-while-trying-to-use-cloudformation%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I would suggest check/update your CLI version. Either way do let know if that works
– ASR
Mar 8 at 15:28
Were you able to create the named query using the command mentioned above @ASR ?
– shantanuo
Mar 9 at 10:28
@ASR you can post your comment as answer if you are interested in bounty :)
– shantanuo
Mar 13 at 4:48
Glad to know it worked. Though not really worth as an answer. Silly things happen.
– ASR
Mar 13 at 13:14