Skip to content

Commit

Permalink
DocFix: #2685
Browse files Browse the repository at this point in the history
  • Loading branch information
kavya498 authored and hkantare committed May 31, 2021
1 parent 08e1aef commit b02b2b3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions website/docs/r/cr_namespace.html.markdown
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
layout: "ibm"
page_title: "IBM : cr_namespace"
page_title: "IBM : ibm_cr_namespace"
description: |-
Manages cr_namespace.
Manages ibm_cr_namespace.
subcategory: "Container Registry"
---

# ibm\_cr_namespace

Provides a resource for cr_namespace. This allows cr_namespace to be created, updated and deleted.
Provides a resource for ibm_cr_namespace. This allows ibm_cr_namespace to be created, updated and deleted.

## Example Usage

```terraform
resource "cr_namespace" "cr_namespace" {
resource "ibm_cr_namespace" "cr_namespace" {
name = "name"
}
```
Expand All @@ -25,14 +25,14 @@ The following arguments are supported:
* `name` - (Required, Forces new resource, string) The name of the namespace.
* Constraints: The maximum length is `30` characters. The minimum length is `4` characters. The value must match regular expression `/^[a-z0-9]+[a-z0-9_-]+[a-z0-9]+$/`
* `resource_group_id` - (Optional, Forces new resource, string) The ID of the resource group that the namespace will be created within.
* `tags` - (Optional, array of strings) Tags associated with the cr_namespace.
* `tags` - (Optional, array of strings) Tags associated with the ibm_cr_namespace.
**NOTE**: `Tags` are managed locally and not stored on the IBM Cloud service endpoint at this moment.

## Attribute Reference

In addition to all arguments above, the following attributes are exported:

* `id` - The unique identifier of the cr_namespace.
* `id` - The unique identifier of the ibm_cr_namespace.
* `account` - The IBM Cloud account that owns the namespace.
* `created_date` - When the namespace was created.
* `crn` - If the namespace has been assigned to a resource group, this is the IBM Cloud CRN representing the namespace.
Expand All @@ -41,10 +41,10 @@ In addition to all arguments above, the following attributes are exported:

## Import

You can import the `cr_namespace` resource by using `name`. The name of the namespace.
You can import the `ibm_cr_namespace` resource by using `name`. The name of the namespace.

* `name`: A string. The name of the namespace.

```
$ terraform import cr_namespace.cr_namespace <name>
$ terraform import ibm_cr_namespace.cr_namespace <name>
```
14 changes: 7 additions & 7 deletions website/docs/r/cr_retention_policy.html.markdown
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
layout: "ibm"
page_title: "IBM : cr_retention_policy"
page_title: "IBM : ibm_cr_retention_policy"
description: |-
Manages cr_retention_policy.
Manages ibm_cr_retention_policy.
subcategory: "Container Registry"
---

# ibm\_cr_retention_policy

Provides a resource for cr_retention_policy. This allows cr_retention_policy to be created, updated and deleted.
Provides a resource for ibm_cr_retention_policy. This allows retention policy to be created, updated and deleted.

## Example Usage

```terraform
resource "cr_retention_policy" "cr_retention_policy" {
resource "ibm_cr_retention_policy" "cr_retention_policy" {
namespace = "birds"
images_per_repo = 10
retain_untagged = false
Expand All @@ -32,12 +32,12 @@ The following arguments are supported:

In addition to all arguments above, the following attributes are exported:

* `id` - The unique identifier of the cr_retention_policy.
* `id` - The unique identifier of the ibm_cr_retention_policy.

## Import

You can import the `cr_retention_policy` resource by using `namespace`. The namespace to which the retention policy is attached.
You can import the `ibm_cr_retention_policy` resource by using `namespace`. The namespace to which the retention policy is attached.

```
$ terraform import cr_retention_policy.cr_retention_policy <namespace>
$ terraform import ibm_cr_retention_policy.cr_retention_policy <namespace>
```

0 comments on commit b02b2b3

Please sign in to comment.