2014-07-28 19:43:00 +02:00
|
|
|
---
|
2020-08-15 03:51:06 +02:00
|
|
|
layout: "language"
|
2020-11-13 03:06:32 +01:00
|
|
|
page_title: "Resources Landing Page - Configuration Language"
|
2014-07-28 19:43:00 +02:00
|
|
|
---
|
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
# Resources Landing Page
|
2014-07-28 19:43:00 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
To improve navigation, we've split the old Resources page into several smaller
|
|
|
|
pages.
|
2019-01-17 01:30:43 +01:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="resource-syntax"></a>
|
|
|
|
<a id="resource-types"></a>
|
|
|
|
<a id="providers"></a>
|
|
|
|
<a id="resource-arguments"></a>
|
|
|
|
<a id="documentation-for-resource-types"></a>
|
|
|
|
<a id="meta-arguments"></a>
|
2020-12-17 00:10:49 +01:00
|
|
|
<a id="timeouts"></a>
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="operation-timeouts"></a>
|
2020-07-31 22:16:35 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
## Syntax and Elements of Resource Blocks
|
2014-07-28 19:43:00 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
This information has moved to
|
|
|
|
[Resource Blocks](/docs/configuration/blocks/resources/syntax.html).
|
2014-07-28 19:43:00 +02:00
|
|
|
|
website: Add big whitespace separators to recovery landing pages
The resources, expressions, and modules pages were all split into smaller, more
navigable pages, but the old URLs had accumulated a large number of deep links
to their section headers. To help people recover when they click an old link, we
converted those old URLs to landing pages, which preserve all of the old in-page
anchors and point readers to the appropriate new destinations.
However, because the new link-to-new-page sections are so small, it was kind of
hard to tell which section you had clicked into! Especially if you were near the
bottom of the page and the browser wasn't able to position the desired section
at the very top of the window.
This commit aims to improve that by putting one full screen of whitespace in
between every linkable section on these landing pages. Yes, it's a hack, but
you're meant to only view these pages for three seconds or so before moving on
to the place you wanted to be, and this should help dispel any confusion about
which place that is.
2020-12-02 00:27:41 +01:00
|
|
|
<div style="height: 100vh; margin: 0; padding: 0;"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="resource-behavior"></a>
|
|
|
|
<a id="accessing-resource-attributes"></a>
|
|
|
|
<a id="resource-dependencies"></a>
|
|
|
|
<a id="local-only-resources"></a>
|
2014-07-28 19:43:00 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
## Details of Resource Behavior
|
2014-07-28 19:43:00 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
This information has moved to
|
|
|
|
[Resource Behavior](/docs/configuration/blocks/resources/behavior.html).
|
2018-05-05 23:00:31 +02:00
|
|
|
|
website: Add big whitespace separators to recovery landing pages
The resources, expressions, and modules pages were all split into smaller, more
navigable pages, but the old URLs had accumulated a large number of deep links
to their section headers. To help people recover when they click an old link, we
converted those old URLs to landing pages, which preserve all of the old in-page
anchors and point readers to the appropriate new destinations.
However, because the new link-to-new-page sections are so small, it was kind of
hard to tell which section you had clicked into! Especially if you were near the
bottom of the page and the browser wasn't able to position the desired section
at the very top of the window.
This commit aims to improve that by putting one full screen of whitespace in
between every linkable section on these landing pages. Yes, it's a hack, but
you're meant to only view these pages for three seconds or so before moving on
to the place you wanted to be, and this should help dispel any confusion about
which place that is.
2020-12-02 00:27:41 +01:00
|
|
|
<div style="height: 100vh; margin: 0; padding: 0;"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
## Resource Meta-Arguments
|
2018-05-05 23:00:31 +02:00
|
|
|
|
website: Add big whitespace separators to recovery landing pages
The resources, expressions, and modules pages were all split into smaller, more
navigable pages, but the old URLs had accumulated a large number of deep links
to their section headers. To help people recover when they click an old link, we
converted those old URLs to landing pages, which preserve all of the old in-page
anchors and point readers to the appropriate new destinations.
However, because the new link-to-new-page sections are so small, it was kind of
hard to tell which section you had clicked into! Especially if you were near the
bottom of the page and the browser wasn't able to position the desired section
at the very top of the window.
This commit aims to improve that by putting one full screen of whitespace in
between every linkable section on these landing pages. Yes, it's a hack, but
you're meant to only view these pages for three seconds or so before moving on
to the place you wanted to be, and this should help dispel any confusion about
which place that is.
2020-12-02 00:27:41 +01:00
|
|
|
Each resource meta-argument has moved to its own page:
|
|
|
|
|
|
|
|
- [`depends_on`](/docs/configuration/meta-arguments/depends_on.html)
|
|
|
|
- [`count`](/docs/configuration/meta-arguments/count.html)
|
|
|
|
- [`for_each`](/docs/configuration/meta-arguments/for_each.html)
|
|
|
|
- [`provider`](/docs/configuration/meta-arguments/resource-provider.html)
|
|
|
|
- [`lifecycle`](/docs/configuration/meta-arguments/lifecycle.html)
|
|
|
|
- [Provisioners](/docs/configuration/blocks/resources/provisioners/index.html)
|
|
|
|
|
|
|
|
<div style="height: 100vh; margin: 0; padding: 0;"></div>
|
|
|
|
|
|
|
|
|
2018-05-05 23:00:31 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="depends_on-explicit-resource-dependencies"></a>
|
2019-03-01 21:30:51 +01:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
### `depends_on`
|
2018-05-05 23:00:31 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
This information has moved to
|
|
|
|
[`depends_on`](/docs/configuration/meta-arguments/depends_on.html).
|
2018-05-05 23:00:31 +02:00
|
|
|
|
website: Add big whitespace separators to recovery landing pages
The resources, expressions, and modules pages were all split into smaller, more
navigable pages, but the old URLs had accumulated a large number of deep links
to their section headers. To help people recover when they click an old link, we
converted those old URLs to landing pages, which preserve all of the old in-page
anchors and point readers to the appropriate new destinations.
However, because the new link-to-new-page sections are so small, it was kind of
hard to tell which section you had clicked into! Especially if you were near the
bottom of the page and the browser wasn't able to position the desired section
at the very top of the window.
This commit aims to improve that by putting one full screen of whitespace in
between every linkable section on these landing pages. Yes, it's a hack, but
you're meant to only view these pages for three seconds or so before moving on
to the place you wanted to be, and this should help dispel any confusion about
which place that is.
2020-12-02 00:27:41 +01:00
|
|
|
<div style="height: 100vh; margin: 0; padding: 0;"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="count-multiple-resource-instances-by-count"></a>
|
2020-12-17 00:10:49 +01:00
|
|
|
<a id="count-multiple-resource-instances"></a>
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="the-count-object"></a>
|
2020-12-17 00:10:49 +01:00
|
|
|
<a id="count-index"></a>
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="referring-to-instances"></a>
|
|
|
|
<a id="using-expressions-in-count"></a>
|
|
|
|
<a id="when-to-use-for_each-instead-of-count"></a>
|
2020-07-31 06:07:36 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
### `count`
|
2020-07-31 06:07:36 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
This information has moved to
|
|
|
|
[`count`](/docs/configuration/meta-arguments/count.html).
|
2020-07-31 06:07:36 +02:00
|
|
|
|
website: Add big whitespace separators to recovery landing pages
The resources, expressions, and modules pages were all split into smaller, more
navigable pages, but the old URLs had accumulated a large number of deep links
to their section headers. To help people recover when they click an old link, we
converted those old URLs to landing pages, which preserve all of the old in-page
anchors and point readers to the appropriate new destinations.
However, because the new link-to-new-page sections are so small, it was kind of
hard to tell which section you had clicked into! Especially if you were near the
bottom of the page and the browser wasn't able to position the desired section
at the very top of the window.
This commit aims to improve that by putting one full screen of whitespace in
between every linkable section on these landing pages. Yes, it's a hack, but
you're meant to only view these pages for three seconds or so before moving on
to the place you wanted to be, and this should help dispel any confusion about
which place that is.
2020-12-02 00:27:41 +01:00
|
|
|
<div style="height: 100vh; margin: 0; padding: 0;"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="for_each-multiple-resource-instances-defined-by-a-map-or-set-of-strings"></a>
|
|
|
|
<a id="the-each-object"></a>
|
2020-12-17 00:10:49 +01:00
|
|
|
<a id="each-key"></a>
|
|
|
|
<a id="each-value"></a>
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="using-expressions-in-for_each"></a>
|
|
|
|
<a id="referring-to-instances-1"></a>
|
|
|
|
<a id="using-sets"></a>
|
2020-07-31 06:07:36 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
### `for_each`
|
2020-07-31 06:07:36 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
This information has moved to
|
|
|
|
[`for_each`](/docs/configuration/meta-arguments/for_each.html).
|
2020-07-31 06:07:36 +02:00
|
|
|
|
website: Add big whitespace separators to recovery landing pages
The resources, expressions, and modules pages were all split into smaller, more
navigable pages, but the old URLs had accumulated a large number of deep links
to their section headers. To help people recover when they click an old link, we
converted those old URLs to landing pages, which preserve all of the old in-page
anchors and point readers to the appropriate new destinations.
However, because the new link-to-new-page sections are so small, it was kind of
hard to tell which section you had clicked into! Especially if you were near the
bottom of the page and the browser wasn't able to position the desired section
at the very top of the window.
This commit aims to improve that by putting one full screen of whitespace in
between every linkable section on these landing pages. Yes, it's a hack, but
you're meant to only view these pages for three seconds or so before moving on
to the place you wanted to be, and this should help dispel any confusion about
which place that is.
2020-12-02 00:27:41 +01:00
|
|
|
<div style="height: 100vh; margin: 0; padding: 0;"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="provider-selecting-a-non-default-provider-configuration"></a>
|
2020-07-31 06:07:36 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
### `provider`
|
2018-05-05 23:00:31 +02:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
This information has moved to
|
|
|
|
[`provider`](/docs/configuration/meta-arguments/resource-provider.html).
|
2018-05-05 23:00:31 +02:00
|
|
|
|
website: Add big whitespace separators to recovery landing pages
The resources, expressions, and modules pages were all split into smaller, more
navigable pages, but the old URLs had accumulated a large number of deep links
to their section headers. To help people recover when they click an old link, we
converted those old URLs to landing pages, which preserve all of the old in-page
anchors and point readers to the appropriate new destinations.
However, because the new link-to-new-page sections are so small, it was kind of
hard to tell which section you had clicked into! Especially if you were near the
bottom of the page and the browser wasn't able to position the desired section
at the very top of the window.
This commit aims to improve that by putting one full screen of whitespace in
between every linkable section on these landing pages. Yes, it's a hack, but
you're meant to only view these pages for three seconds or so before moving on
to the place you wanted to be, and this should help dispel any confusion about
which place that is.
2020-12-02 00:27:41 +01:00
|
|
|
<div style="height: 100vh; margin: 0; padding: 0;"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="lifecycle-lifecycle-customizations"></a>
|
2020-12-17 00:10:49 +01:00
|
|
|
<a id="prevent_destroy"></a>
|
|
|
|
<a id="create_before_destroy"></a>
|
|
|
|
<a id="ignore_changes"></a>
|
2018-12-11 01:14:33 +01:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
### `lifecycle`
|
2018-12-11 01:14:33 +01:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
This information has moved to
|
|
|
|
[`lifecycle`](/docs/configuration/meta-arguments/lifecycle.html).
|
2018-12-11 01:14:33 +01:00
|
|
|
|
website: Add big whitespace separators to recovery landing pages
The resources, expressions, and modules pages were all split into smaller, more
navigable pages, but the old URLs had accumulated a large number of deep links
to their section headers. To help people recover when they click an old link, we
converted those old URLs to landing pages, which preserve all of the old in-page
anchors and point readers to the appropriate new destinations.
However, because the new link-to-new-page sections are so small, it was kind of
hard to tell which section you had clicked into! Especially if you were near the
bottom of the page and the browser wasn't able to position the desired section
at the very top of the window.
This commit aims to improve that by putting one full screen of whitespace in
between every linkable section on these landing pages. Yes, it's a hack, but
you're meant to only view these pages for three seconds or so before moving on
to the place you wanted to be, and this should help dispel any confusion about
which place that is.
2020-12-02 00:27:41 +01:00
|
|
|
<div style="height: 100vh; margin: 0; padding: 0;"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
<a id="provisioner-and-connection-resource-provisioners"></a>
|
2018-12-11 01:14:33 +01:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
### Provisioners
|
2018-12-11 01:14:33 +01:00
|
|
|
|
2020-11-13 03:06:32 +01:00
|
|
|
This information has moved to
|
|
|
|
[Provisioners](/docs/configuration/blocks/resources/provisioners/index.html).
|
website: Add big whitespace separators to recovery landing pages
The resources, expressions, and modules pages were all split into smaller, more
navigable pages, but the old URLs had accumulated a large number of deep links
to their section headers. To help people recover when they click an old link, we
converted those old URLs to landing pages, which preserve all of the old in-page
anchors and point readers to the appropriate new destinations.
However, because the new link-to-new-page sections are so small, it was kind of
hard to tell which section you had clicked into! Especially if you were near the
bottom of the page and the browser wasn't able to position the desired section
at the very top of the window.
This commit aims to improve that by putting one full screen of whitespace in
between every linkable section on these landing pages. Yes, it's a hack, but
you're meant to only view these pages for three seconds or so before moving on
to the place you wanted to be, and this should help dispel any confusion about
which place that is.
2020-12-02 00:27:41 +01:00
|
|
|
|
|
|
|
<div style="height: 100vh; margin: 0; padding: 0;"></div>
|